<html><head><meta charset="UTF-8" /><script>var $gwt_version = "2.5.0";var $wnd = parent;var $doc = $wnd.document;var $moduleName, $moduleBase;var $strongName = '07F2F052178EB8ACC679F41AB589BB42';var $stats = $wnd.__gwtStatsEvent ? function(a) {return $wnd.__gwtStatsEvent(a);} : null,$sessionId = $wnd.__gwtStatsSessionId ? $wnd.__gwtStatsSessionId : null;$stats && $stats({moduleName:'jsme',sessionId:$sessionId,subSystem:'startup',evtGroup:'moduleStartup',millis:(new Date()).getTime(),type:'moduleEvalStart'});</script></head><body><script><!--
var j="",aa="\n",ca=" ",da='"',ea='" ',fa='" height="',ga='" stroke="',ha='" x2="',ja='" y1="',ka='" y2="',la='" y="',ma='">',na="#",oa="$MOL\n",pa="&",ra="&amp;",sa="&gt;",ta="&lt;",ua="&nbsp;",va="'",wa="(",ya=")",za="*",Aa="+",Ba=",",Ca=", ",Da="-",Ea="-C#C-Me",Fa="-C#CH",Ga="-C#N",Ha="-C(=O)N",Ja="-C(=O)OH",La="-C(=O)OMe",Ma="-CCl3",Na="-CF3",Oa="-CMe3",Pa="-NC=O",Qa="-NH-SO2-Me",Ra="-NMe2",Ta="-NO2",Ua="-OC(=O)Me",Va="-SO2-NH2",Wa="-SO3H",Xa="-selected",Ya=".",Za="/",$a="//",bb="/>",cb="0",db=
"0px",fb="1",gb="100%",hb="1em",ib="1ex",jb="1in",kb="2",mb="3",nb=":",ob=": ",pb=";",qb="<",rb='<line x1="',sb="=",tb=">",ub="?",vb="@",wb="A",yb="After",Cb="Any",Db="Aromatic",Eb="B",Fb="Before",Hb="Br",Ib="C",Jb="CENTER",Kb="CSS1Compat",Lb="Center",Mb="Cl",Nb="Class$",Ob="Copy as ",Pb="Dialog",Qb="END",Rb="East",Sb="F",Tb="First",Vb='For input string: "',Wb="GBVTBU-BB",Xb="H",Yb="Helvetica",Zb="I",$b="Incorrect URL: ",ac="Internal index set to null.",bc="JUSTIFY",cc="JavaScript",dc="LEFT",ec="MOL n. ",
fc="N",hc="NA",lc="NONE",mc="No more molecules in mol stack",nc="Nonring",oc="North",pc="Null widget handle. If you are creating a composite, ensure that initWidget() has been called.",qc="O",rc="ONE_WAY_CORNER",sc="P",tc="R",uc="R1",vc="R2",wc="R3",xc="RIGHT",Ac="ROLL_DOWN",Bc="Reset",Cc="Resize-",Gc="Ring",Hc="S",Ic="SMILES",Jc="Se",Kc="Si",Lc="South",Mc="Style names cannot be empty",Nc="TBODY",Oc="TR",Vc="West",Wc="X",Xc="[",Yc="\\",Zc="]",$c="__uiObjectID",ad="a",bd="absolute",cd="alert",dd="alertdialog",
ed="align",fd="antialias",gd="application",hd="article",id="auto",jd="backgroundColor",kd="banner",ld="blur",pd="bolder",rd="border",sd="bottom",td="button",ud="cellPadding",vd="cellSpacing",wd="center",xd="change",yd="checkbox",zd="className",Ad="click",Bd="click marked atom to delete mark",Cd="clip",Dd="col",Ed="colSpan",Id="columnheader",Jd="combobox",Pd="complementary",Qd="contentinfo",Rd="contextmenu",Sd="cssFloat",Td="dblclick",Ud="definition",Vd="dialog",Wd="dir",Xd="directory",Yd="display",
Zd="div",$d="document",ae="dragdrop-handle",be="dragdrop-selected",ce="filter",de="float",ee="focus",fe="fontFamily",ge="fontSize",he="fontStyle",ie="fontWeight",je="form",ke="function",le="g",me="gesturechange",ne="gestureend",oe="gesturestart",qe="google",re="grid",se="gridcell",te="group",ue="gwt-MenuBar",ve="gwt-MenuBarPopup",Ce="heading",De="height",Ee="hidden",Fe="html",Ge="img",He="italic",Ie="java.vm.name",Je="keydown",Ke="keypress",Le="keyup",Me="left",Ne="link",Oe="list",Pe="listbox",Qe=
"listitem",Re="load",Se="log",Te="ltr",Ue="main",Ve="marquee",Xe="math",Ye="menu",Ze="menuPopup",$e="menubar",af="menuitem",bf="menuitemcheckbox",cf="menuitemradio",jf="middle",kf="mousedown",lf="mousemove",mf="mouseout",nf="mouseover",of="mouseup",pf="mousewheel",qf="msie",rf="multipart",sf="n",tf="navigation",uf="none",vf="noreaction",wf="note",xf="nowrap",yf="null",zf="number",Af="offsetHeight",Bf="offsetWidth",Cf="opera",Df="option",Ef="overflow",Ff="popupContent",Gf="position",Hf="presentation",
If="progressbar",Jf="pt",Kf="px",Lf="px, ",Nf="px;",Of="radio",Pf="radiogroup",Qf="reaction",Rf="rect(0px, 0px, 0px, 0px)",Sf="region",Tf="rgb(",Uf="right",Vf="row",Wf="rowgroup",Xf="rowheader",Yf="rtl",Zf="s",$f="scrollbar",ag="se",cg="search",dg="separator",eg="serif",fg="slider",gg="span",hg="spinbutton",ig="status",jg="subMenuIcon-selected",kg="tab",lg="table",mg="tablist",ng="tabpanel",og="tbody",pg="td",qg="text",rg="textbox",sg="timer",tg="toolbar",ug="tooltip",vg="top",wg="touchcancel",xg=
"touchend",yg="touchmove",zg="touchstart",Ag="tr",Bg="tree",Cg="treegrid",Dg="treeitem",Eg="true",Fg="value",Gg="verticalAlign",Hg="visibility",Ig="visible",Jg="whiteSpace",Kg="width",Lg="x",Mg="zIndex",Ng="|",_,Og={l:0,m:0,h:0},Pg={l:1,m:0,h:0},Qg={l:2,m:0,h:0},Rg={l:3,m:0,h:0},Sg={l:4,m:0,h:0},Tg={},Ug={80:1,106:1,109:1,111:1},Vg={87:1,92:1,103:1,106:1},Wg={11:1,12:1,13:1,14:1,15:1,16:1,17:1,18:1,19:1,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:1,28:1,29:1,30:1,31:1,32:1,33:1,34:1,35:1,36:1,37:1,38:1,
39:1,40:1,41:1,42:1,43:1,45:1,47:1,56:1,62:1,63:1,64:1,65:1,68:1,71:1,75:1,76:1,77:1,78:1,79:1,81:1},Xg={11:1,12:1,13:1,14:1,15:1,16:1,17:1,18:1,19:1,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:1,28:1,29:1,30:1,31:1,32:1,33:1,34:1,35:1,36:1,37:1,38:1,39:1,40:1,41:1,42:1,43:1,45:1,47:1,56:1,63:1,65:1,68:1,69:1,71:1,75:1,76:1,77:1,78:1,79:1,81:1},Yg={121:1},Zg={106:1,108:1,122:1},$g={106:1,112:1,117:1,119:1},ah={11:1,18:1,19:1,20:1,21:1,22:1,23:1,24:1,25:1,26:1,45:1,47:1,56:1,68:1,69:1,71:1,79:1,81:1},bh=
{106:1,112:1,113:1,117:1,119:1},ch={52:1,106:1},dh={45:1,47:1,56:1,61:1,68:1,69:1,71:1,79:1,81:1},eh={87:1,88:1,92:1,103:1,106:1},fh={6:1,8:1,106:1,109:1,111:1},gh={83:1,106:1,112:1,117:1,119:1},oh={45:1,47:1,56:1,68:1,69:1,71:1,74:1,79:1,81:1,129:1,136:1},ph={106:1,121:1},qh={125:1},rh={8:1,9:1,106:1,109:1,111:1},sh={44:1},th={45:1,47:1,56:1,60:1,68:1,70:1,71:1,79:1,81:1},uh={106:1,108:1,121:1},vh={11:1,12:1,13:1,14:1,15:1,16:1,17:1,18:1,19:1,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:1,28:1,29:1,30:1,
31:1,32:1,33:1,34:1,35:1,36:1,37:1,38:1,39:1,40:1,41:1,42:1,43:1,45:1,47:1,56:1,62:1,63:1,64:1,65:1,67:1,68:1,71:1,75:1,76:1,77:1,78:1,79:1,81:1},k={106:1,108:1},wh={106:1,112:1,119:1},r={105:1,106:1,108:1},xh={46:1,82:1},yh={54:1},zh={87:1,88:1,92:1,96:1,103:1,106:1},Ah={122:1},Bh={47:1},Ch={7:1,8:1,106:1,109:1,111:1},Dh={55:1},Eh={106:1},Fh={10:1,106:1,109:1,111:1},Gh={123:1},Hh={45:1,47:1,56:1,68:1,71:1,79:1,81:1},Ih={68:1,79:1},Jh={45:1,47:1,56:1,68:1,69:1,71:1,79:1,81:1},Kh={107:1},Lh={92:1,
106:1};function s(a,b,c){var d=Tg[a];d&&!d.cZ?_=d.prototype:(!d&&(d=Tg[a]=function(){}),_=d.prototype=0>b?{}:new Tg[b],_.cM=c);for(var e=3;e<arguments.length;++e)arguments[e].prototype=_;d.cZ&&(_.cZ=d.cZ,d.cZ=null)}function u(){}s(1,-1,{});_.eQ=function(a){return this===a};_.gC=function(){return this.cZ};_.hC=function(){return Mh(this)};
_.tS=function(){var a=this.cZ.e+vb,b;b=this.hC();var c,d,e;c=v(Nh,k,-1,8,1);d=(Oh(),Ph);e=7;if(0<=b)for(;15<b;)c[e--]=d[b&15],b>>=4;else for(;0<e;)c[e--]=d[b&15],b>>=4;c[e]=d[b&15];b=c.slice(e,8);b=String.fromCharCode.apply(null,b);return a+b};_.toString=function(){return this.tS()};_.tM=u;function Qh(){Qh=u;Rh=new Sh}function Th(a){for(var b,a=new Uh(a.k.n);a.c<a.e.ie();)b=Vh(a),Wh(b.Sc(),be,!1),Xh(a)}
function Yh(a,b,c){var a=a.o,d;try{d=new Zh(b,c.wc(a),c.zc(a),(c.xc(a),c.yc(a))),x(a.d,c,d)}catch(e){e=$h(e);if(y(e,112))throw new ai("dragHandle must implement HasMouseDownHandlers, HasMouseUpHandlers, HasMouseMoveHandlers and HasMouseOutHandlers to be draggable",e);throw e;}Wh(b.Sc(),Wb,!0);Wh(c.Sc(),ae,!0);x(Rh,b,c)}function bi(a,b){var c;c=ci(Rh,b);var d;d=ci(a.o.d,c);if(!d)throw new di("dragHandle was not draggable");ei(d.c.b);ei(d.e.b);ei(d.d.b);Wh(b.Sc(),Wb,!1);Wh(c.Sc(),ae,!1)}
function fi(a){var b;a.p=!1;for(a=new Uh(a.k.n);a.c<a.e.ie();)b=Vh(a),Wh(b.Sc(),be,!1),Xh(a)}function gi(a,b){hi(a.k.n,b)?Wh(b.Sc(),be,!1):a.p?(ii(a.k.n,b),Wh(b.Sc(),be,!0)):(ji(a.k.n),ii(a.k.n,b))}function ki(a){this.i=a;this.k=new li(this);this.o=new mi(this.k)}s(3,1,{});_.bc=function(){ni(this.k.f,"dragdrop-dragging")};_.cc=function(){oi(this.k.f,"dragdrop-dragging")};_.i=null;_.j=!1;_.k=null;_.n=0;_.o=null;_.p=!1;var Rh;function li(a){this.n=new pi;this.e=a;this.b=a.i}s(4,1,{},li);_.b=null;
_.c=0;_.d=0;_.e=null;_.f=null;_.i=null;_.j=0;_.k=0;function qi(a,b,c){a.c.j=b;a.c.k=c;a.c.c=b-a.i;a.c.d=c-a.j;a.c.e.dc()}function ri(a,b){var c;c=si(a.d,ti).b;b.b.ctrlKey||b.b.metaKey||Th(a.c.e);gi(a.c.e,c)}function ui(a){a.c.i=null;a.c.e.cc();vi((wi(),xi(null)),a.b,0,0);var b=a.b.pb;yi=b;zi();Ai=b;a.e=2}
function mi(a){this.d=new Sh;this.c=a;this.b=new Bi;Ci(this.b,Di(),Ei());A(this.b,this,(Fi(),Fi(),Gi));A(this.b,this,(Hi(),Hi(),Ii));a=this.b.pb.style;a[ce]="alpha(opacity=0)";a.opacity=0;a.margin=0+(Ji(),Kf);a.borderStyle=(Ki(),uf);a[jd]="blue"}s(5,1,{},mi);
_.ec=function(a){var b,c,d,e;c=a.i;d=Li(a);e=Mi(a);b=Ni(a.b);if(!(3==this.e||2==this.e||1!=b)&&!ti)ti=c,this.c.f=si(this.d,ti).b,!a.b.ctrlKey&&!a.b.metaKey&&-1==Oi(this.c.n,this.c.f)&&(Th(this.c.e),gi(this.c.e,this.c.f)),Pi(new Qi),this.f=!0,a.b.preventDefault(),this.i=d,this.j=e,b=new Ri(ti,null),ti!=this.c.f&&(c=new Ri(this.c.f,null),this.i+=b.b-c.b,this.j+=b.e-c.e),0==this.c.e.n&&!a.b.ctrlKey&&!a.b.metaKey&&(this.c.j=d+b.b,this.c.k=e+b.e,ui(this),1!=this.e&&qi(this,this.c.j,this.c.k))};
_.fc=function(a){var b,c,d;c=a.i;b=c.pb;d=Si(a,b);a=Ti(a,b);if(3==this.e||2==this.e){if(c!=this.b)return;this.e=3}else if(this.f&&(Ui(Vi(d-this.i),Vi(a-this.j))>=this.c.e.n?(Wi(),-1!=Oi(this.c.n,this.c.f)||gi(this.c.e,this.c.f),c=new Ri(ti,null),this.c.j=this.i+c.b,this.c.k=this.j+c.e,d+=c.b,a+=c.e,ui(this)):Xi.preventDefault()),1==this.e)return;Xi.preventDefault();qi(this,d,a)};
_.gc=function(a){var b,c,d,e;d=a.i;b=d.pb;e=Si(a,b);b=Ti(a,b);if(1==Ni(a.b)&&(this.f=!1,ti))try{if(Wi(),1==this.e)ri(this,a);else{d!=this.b&&(c=new Ri(d,null),e+=c.b,b+=c.e);try{qi(this,e,b),this.c.e.bc(),3!=this.e&&ri(this,a)}finally{var f=this.b.pb;yi&&f==yi&&(yi=null);zi();f===Ai&&(Ai=null);Yi(this.b);this.e=1;this.c.f=null}}}finally{ti=null}};_.b=null;_.c=null;_.e=1;_.f=!1;_.i=0;_.j=0;var ti=null;function Qi(){}s(6,1,Dh,Qi);_.hc=function(){Wi()};
function Zh(a,b,c,d){this.b=a;this.c=b;this.d=d;this.e=c}s(7,1,{},Zh);_.b=null;_.c=null;_.d=null;_.e=null;s(8,1,{});s(10,8,{});s(9,10,{});_.b=null;s(11,1,{});_.tS=function(){return wa+this.b+Ca+this.e+ya};function Ri(a,b){!a||a==(wi(),xi(null))?this.i=this.f=0:(this.f=a.Oc()-(a.pb.scrollLeft||0),this.i=a.Pc()-(a.pb.scrollTop||0));!b||b==(wi(),xi(null))?this.d=this.c=0:(this.c=Zi(b.pb)+$i(b.pb),this.d=aj(b.pb)+bj(b.pb));this.b=this.f-this.c;this.e=this.i-this.d}s(14,11,{},Ri);
_.tS=function(){return wa+this.b+Ca+this.e+ya};_.b=0;_.c=0;_.d=0;_.e=0;_.f=0;_.i=0;function Wi(){try{$wnd.getSelection().removeAllRanges()}catch(a){throw Error("unselect exception:\n"+a);}}function $i(a){try{var b=$doc.defaultView.getComputedStyle(a,null).getPropertyValue("border-left-width");return-1==b.indexOf(Kf)?0:parseInt(b.substr(0,b.length-2))}catch(c){throw Error("getBorderLeft exception:\n"+c);}}
function bj(a){try{var b=$doc.defaultView.getComputedStyle(a,null).getPropertyValue("border-top-width");return-1==b.indexOf(Kf)?0:parseInt(b.substr(0,b.length-2))}catch(c){throw Error("getBorderTop: "+c);}}function cj(a){try{return a.clientHeight}catch(b){throw Error("getClientHeight exception:\n"+b);}}function dj(a){try{return a.clientWidth}catch(b){throw Error("getClientWidth exception:\n"+b);}}
function rj(a){if(a.p){a.v=a.q;a.p=!1;a.q=!1;if(a.r){var b=a.r,c=b.c;hi(c.b,b);0==c.b.d&&sj(c.c);a.r=null}a.ic()}}function tj(a,b){var c=uj();rj(a);a.p=!0;a.q=!1;a.o=b;a.u=c;++a.s;vj(a.n,uj())}function wj(a,b){var c,d;c=a.s;d=b>=a.u+a.o;if(a.q&&!d)return d=(b-a.u)/a.o,a.lc((1+Math.cos(3.141592653589793+3.141592653589793*d))/2),a.p&&a.s==c;if(!a.q&&b>=a.u&&(a.q=!0,a.kc(),!(a.p&&a.s==c)))return!1;return d?(a.p=!1,a.q=!1,a.jc(),!1):!0}s(17,1,{});_.ic=function(){this.v&&this.jc()};
_.jc=function(){this.lc((1+Math.cos(6.283185307179586))/2)};_.kc=function(){this.lc((1+Math.cos(3.141592653589793))/2)};_.o=-1;_.p=!1;_.q=!1;_.r=null;_.s=-1;_.t=null;_.u=-1;_.v=!1;function vj(a,b){if(wj(a.b,b)){var c=a.b,d=a.b.t,e;e=new xj(d,a.b.n);ii(d.b,e);1==d.b.d&&yj(d.c,16);c.r=e}else a.b.r=null}function zj(a){this.b=a}s(18,1,{},zj);_.b=null;s(19,1,{});s(20,1,{2:1});function Aj(){Aj=u;Bj=new Cj}s(21,19,{});var Bj=null;function Cj(){this.b=new pi;this.c=new Dj(this)}s(22,21,{},Cj);
function Ej(){Ej=u;Fj=new pi;var a=new Gj;Hj();Ij(Jj?Jj:Jj=new Kj,a)}function sj(a){a.c?$wnd.clearInterval(a.d):$wnd.clearTimeout(a.d);hi(Fj,a)}function yj(a,b){if(0>b)throw new Lj("must be non-negative");a.c?$wnd.clearInterval(a.d):$wnd.clearTimeout(a.d);hi(Fj,a);a.c=!1;a.d=Mj(a,b);ii(Fj,a)}function Nj(a){return $wnd.setInterval(Oj(function(){a.mc()}),100)}function Mj(a,b){return $wnd.setTimeout(Oj(function(){a.mc()}),b)}s(24,1,{});_.mc=function(){this.c||hi(Fj,this);this.nc()};_.c=!1;_.d=0;var Fj;
function Dj(a){Ej();this.b=a}s(23,24,{},Dj);_.nc=function(){var a=this.b,b,c,d,e,f;b=v(Pj,k,3,a.b.d,0);b=Qj(a.b,b);c=new Rj;for(e=0,f=b.length;e<f;++e)d=b[e],hi(a.b,d),vj(d.b,c.b);0<a.b.d&&yj(a.c,Ui(5,16-(uj()-c.b)))};_.b=null;function xj(a,b){this.c=a;this.b=b}s(25,20,{2:1,3:1},xj);_.b=null;_.c=null;s(27,1,{});_.b=null;function Sj(){this.b=cd}s(26,27,{},Sj);function Tj(){this.b=dd}s(28,27,{},Tj);function Uj(){this.b=gd}s(29,27,{},Uj);s(31,1,{});_.b=null;function Vj(a){this.b=a}s(30,31,{},Vj);
function Wj(){this.b=hd}s(32,27,{},Wj);function Xj(){this.b=kd}s(33,27,{},Xj);function Yj(){this.b=td}s(34,27,{},Yj);function Zj(){this.b=yd}s(35,27,{},Zj);function $j(){this.b=Id}s(36,27,{},$j);function ak(){this.b=Jd}s(37,27,{},ak);function bk(){this.b=Pd}s(38,27,{},bk);function ck(){this.b=Qd}s(39,27,{},ck);function dk(){this.b=Ud}s(40,27,{},dk);function ek(){this.b=Vd}s(41,27,{},ek);function fk(){this.b=Xd}s(42,27,{},fk);function gk(){this.b=$d}s(43,27,{},gk);function hk(){this.b=je}
s(44,27,{},hk);function ik(){this.b=re}s(45,27,{},ik);function jk(){this.b=se}s(46,27,{},jk);function kk(){this.b=te}s(47,27,{},kk);function lk(){this.b=Ce}s(48,27,{},lk);function mk(a){this.b=a.id}s(49,1,{4:1,5:1},mk);_.b=null;function nk(){this.b=Ge}s(50,27,{},nk);function ok(){this.b=Ne}s(51,27,{},ok);function pk(){this.b=Oe}s(52,27,{},pk);function qk(){this.b=Pe}s(53,27,{},qk);function rk(){this.b=Qe}s(54,27,{},rk);function sk(){this.b=Se}s(55,27,{},sk);function tk(){this.b=Ue}s(56,27,{},tk);
function uk(){this.b=Ve}s(57,27,{},uk);function vk(){this.b=Xe}s(58,27,{},vk);function wk(){this.b=Ye}s(59,27,{},wk);function xk(){this.b=$e}s(60,27,{},xk);function yk(){this.b=af}s(61,27,{},yk);function zk(){this.b=bf}s(62,27,{},zk);function Ak(){this.b=cf}s(63,27,{},Ak);function Bk(){this.b=tf}s(64,27,{},Bk);function Ck(){this.b=wf}s(65,27,{},Ck);function Dk(){this.b=Df}s(66,27,{},Dk);function Ek(){this.b=Hf}s(67,27,{},Ek);s(68,31,{},function(a){this.b=a});function Fk(){this.b=If}s(69,27,{},Fk);
function Gk(){Gk=u;Hk=new Vj("aria-activedescendant")}var Hk;function Ik(){this.b=Of}s(71,27,{},Ik);function Jk(){this.b=Pf}s(72,27,{},Jk);function Kk(){this.b=Sf}s(73,27,{},Kk);
function Lk(){Lk=u;Mk=new Tj;Nk=new Sj;Ok=new Uj;Pk=new Wj;Qk=new Xj;Rk=new Yj;Sk=new Zj;Tk=new $j;Uk=new ak;Vk=new bk;Wk=new ck;Xk=new dk;Yk=new ek;Zk=new fk;$k=new gk;al=new hk;bl=new jk;cl=new ik;dl=new kk;fl=new lk;gl=new nk;hl=new ok;il=new qk;jl=new rk;kl=new pk;ll=new sk;ml=new tk;nl=new uk;ol=new vk;pl=new xk;ql=new zk;rl=new Ak;sl=new yk;tl=new wk;ul=new Bk;vl=new Ck;wl=new Dk;xl=new Ek;yl=new Fk;zl=new Jk;Al=new Ik;Bl=new Kk;Cl=new Dl;El=new Fl;Gl=new Hl;Il=new Jl;Kl=new Ll;Ml=new Nl;Ol=
new Pl;Ql=new Rl;Sl=new Tl;Ul=new Vl;Wl=new Xl;Yl=new Zl;$l=new am;bm=new cm;dm=new em;fm=new gm;hm=new im;jm=new km;Am=new Bm;B=new Sh;x(B,Sf,Bl);x(B,cd,Nk);x(B,Vd,Yk);x(B,dd,Mk);x(B,gd,Ok);x(B,$d,$k);x(B,hd,Pk);x(B,kd,Qk);x(B,td,Rk);x(B,yd,Sk);x(B,se,bl);x(B,Id,Tk);x(B,te,dl);x(B,Jd,Uk);x(B,Pd,Vk);x(B,Qd,Wk);x(B,Ud,Xk);x(B,Oe,kl);x(B,Xd,Zk);x(B,je,al);x(B,re,cl);x(B,Ce,fl);x(B,Ge,gl);x(B,Ne,hl);x(B,Pe,il);x(B,Qe,jl);x(B,Se,ll);x(B,Ue,ml);x(B,Ve,nl);x(B,Xe,ol);x(B,Ye,tl);x(B,$e,pl);x(B,af,sl);x(B,
bf,ql);x(B,Df,wl);x(B,Of,Al);x(B,cf,rl);x(B,tf,ul);x(B,wf,vl);x(B,Hf,xl);x(B,If,yl);x(B,Pf,zl);x(B,Vf,Gl);x(B,Wf,Cl);x(B,Xf,El);x(B,cg,Kl);x(B,dg,Ml);x(B,$f,Il);x(B,fg,Ol);x(B,hg,Ql);x(B,ig,Sl);x(B,kg,Yl);x(B,mg,Ul);x(B,ng,Wl);x(B,rg,$l);x(B,sg,bm);x(B,tg,dm);x(B,ug,fm);x(B,Bg,Am);x(B,Cg,hm);x(B,Dg,jm)}var Nk,Mk,Ok,Pk,Qk,Rk,Sk,Tk,Uk,Vk,Wk,Xk,Yk,Zk,$k,al,cl,bl,dl,fl,gl,hl,kl,il,jl,ll,ml,nl,ol,tl,pl,sl,ql,rl,ul,vl,wl,xl,yl,Al,zl,Bl,B,Gl,Cl,El,Il,Kl,Ml,Ol,Ql,Sl,Yl,Ul,Wl,$l,bm,dm,fm,Am,hm,jm;
function Hl(){this.b=Vf}s(75,27,{},Hl);function Dl(){this.b=Wf}s(76,27,{},Dl);function Fl(){this.b=Xf}s(77,27,{},Fl);function Jl(){this.b=$f}s(78,27,{},Jl);function Ll(){this.b=cg}s(79,27,{},Ll);function Nl(){this.b=dg}s(80,27,{},Nl);function Pl(){this.b=fg}s(81,27,{},Pl);function Rl(){this.b=hg}s(82,27,{},Rl);function Tl(){this.b=ig}s(83,27,{},Tl);function Zl(){this.b=kg}s(84,27,{},Zl);function Vl(){this.b=mg}s(85,27,{},Vl);function Xl(){this.b=ng}s(86,27,{},Xl);function am(){this.b=rg}
s(87,27,{},am);function cm(){this.b=sg}s(88,27,{},cm);function em(){this.b=tg}s(89,27,{},em);function gm(){this.b=ug}s(90,27,{},gm);function Bm(){this.b=Bg}s(91,27,{},Bm);function im(){this.b=Cg}s(92,27,{},im);function km(){this.b=Dg}s(93,27,{},km);function Rj(){this.b=uj()}function uj(){return(new Date).getTime()}s(94,1,{},Rj);function Cm(a){var b,c,d;d=new Dm;for(c=a;c;)b=c.oc(),c!=a&&(d.b.b+="Caused by: "),Em(d,c.cZ.e),d.b.b+=ob,Fm(d.b,null==b?"(No exception detail)":b),d.b.b+=aa,c=c.f}
function Gm(a){var b,c,d;c=v(Hm,k,118,a.length,0);for(d=0,b=a.length;d<b;++d){if(!a[d])throw new Im;c[d]=a[d]}}function Jm(a){var b;b=a.cZ.e;a=a.oc();return null!=a?b+ob+a:b}s(99,1,{106:1,119:1});_.oc=function(){return this.i};_.tS=function(){return Jm(this)};_.f=null;_.i=null;function Km(a){Lm();this.i=a}s(98,99,wh,Km);function di(a){Lm();this.i=a}function ai(a,b){Lm();this.f=b;this.i=a}s(97,98,$g,di,ai);
function Mm(a){Lm();this.c=a;this.b=j;var b,c,d;c=Nm(Om(this.c)?this.c:null);d=v(Hm,k,118,c.length,0);for(a=0,b=d.length;a<b;++a)d[a]=new Pm(c[a]);Gm(d)}s(96,97,$g,Mm);
_.oc=function(){if(null==this.d){this.e=null==this.c?yf:Om(this.c)?null==this.c?null:this.c.name:y(this.c,1)?"String":Qm(this.c).e;this.b=this.b+ob+(Om(this.c)?null==this.c?null:this.c.message:this.c+j);var a;if(Om(this.c)){a=this.c;var b=j,c;for(c in a)if("name"!=c&&"message"!=c&&"toString"!=c)try{b+="\n "+c+ob+a[c]}catch(d){}a=b}else a=j;this.d=wa+this.e+") "+a+this.b}return this.d};_.b=j;_.c=null;_.d=null;_.e=null;function Rm(a,b){return Sm(a)?a.eQ(b):a===b}
function Qm(a){return Sm(a)?a.cZ:Tm}function Um(a){return Sm(a)?a.hC():Mh(a)}s(104,1,{});function Mh(a){return a.$H||(a.$H=++Vm)}function Wm(){return($wnd||self)["__gwtDevModeHook:"+$moduleName+":moduleBase"]||$moduleBase}function Xm(){return $wnd.setTimeout(function(){0!=Ym&&(Ym=0);Zm=-1},10)}var Ym=0,Vm=0,$m=0,Zm=-1;function an(){an=u;bn=new cn}function dn(a,b){a.b=en(a.b,[b,!1]);a.k||(a.k=!0,!a.f&&(a.f=new fn(a)),gn(a.f,1),!a.j&&(a.j=new hn(a)),gn(a.j,50))}function cn(){}
function jn(a){return a.pc()}function en(a,b){!a&&(a=[]);a[a.length]=b;return a}function kn(a,b){var c,d,e;for(c=0,d=a.length;c<d;++c){e=a[c];try{e[1]?e[0].pc()&&(b=en(b,e)):e[0].hc()}catch(f){if(f=$h(f),!y(f,119))throw f;}}return b}function gn(a,b){an();$wnd.setTimeout(function(){Oj(jn)(a)&&$wnd.setTimeout(arguments.callee,b)},b)}s(106,104,{},cn);_.b=null;_.c=null;_.d=null;_.e=!1;_.f=null;_.i=null;_.j=null;_.k=!1;var bn;function fn(a){this.b=a}s(107,1,{},fn);
_.pc=function(){this.b.e=!0;var a=this.b,b;a.b&&(b=a.b,a.b=null,!a.i&&(a.i=[]),kn(b,a.i));if(a.i){b=a.i;var c,d,e,f,g;e=b.length;if(0==e)b=null;else{c=!1;for(f=uj();100>uj()-f;)for(d=0;d<e;++d)if((g=b[d])&&!g[0].pc())b[d]=null,c=!0;if(c){c=[];for(d=0;d<e;++d)b[d]&&(c[c.length]=b[d]);b=0==c.length?null:c}}a.i=b}this.b.e=!1;return this.b.k=!!this.b.b||!!this.b.i};_.b=null;function hn(a){this.b=a}s(108,1,{},hn);_.pc=function(){this.b.e&&gn(this.b.f,1);return this.b.k};_.b=null;
function Lm(){var a,b,c;try{null.a()}catch(d){a=d}var e=Nm(a);3<=e.length&&e.splice(0,3);c=v(Hm,k,118,e.length,0);for(a=0,b=c.length;a<b;++a)c[a]=new Pm(e[a]);Gm(c)}function Nm(a){var b,c,d,e,a=a&&a.message?a.message.split(aa):[];for(b=0,c=0,e=a.length;c<e;++b,c+=2)d=a[c].lastIndexOf("function "),-1==d?a[b]=j:a[b]=ln(mn(a[c],d+9));a.length=b;for(b=0,c=a.length;b<c;++b)a[b]=0==a[b].length?"anonymous":a[b];return a}s(114,1,{});function Fm(a,b){a.b+=b}function nn(){}s(115,114,{},nn);_.b=j;
function on(a,b){return parseInt(a[b])||0}function pn(a,b){return null==a[b]?null:""+a[b]}function qn(a){for(a=a.firstChild;a&&1!=a.nodeType;)a=a.nextSibling;return a}function rn(a){a=a.parentNode;(!a||1!=a.nodeType)&&(a=null);return a}function Ni(a){a=a.button;return 1==a?4:2==a?2:1}function Zi(a){for(var b=0,c=a.parentNode;c&&c.offsetParent;)c.tagName!=Oc&&c.tagName!=Nc&&(b-=c.scrollLeft),c=c.parentNode;for(;a;)b+=a.offsetLeft,a=a.offsetParent;return b}
function aj(a){for(var b=0,c=a.parentNode;c&&c.offsetParent;)c.tagName!=Oc&&c.tagName!=Nc&&(b-=c.scrollTop),c=c.parentNode;for(;a;)b+=a.offsetTop,a=a.offsetParent;return b}function Ei(){var a=$doc;return(C(a.compatMode,Kb)?a.documentElement:a.body).clientHeight}function Di(){var a=$doc;return(C(a.compatMode,Kb)?a.documentElement:a.body).clientWidth}function sn(a){return(C(a.compatMode,Kb)?a.documentElement:a.body).scrollLeft||0}
function tn(a){return(C(a.compatMode,Kb)?a.documentElement:a.body).scrollTop||0}function un(a,b){this.c=a;this.d=b}s(137,1,{106:1,109:1,111:1});_.eQ=function(a){return this===a};_.hC=function(){return Mh(this)};_.tS=function(){return this.c};_.c=null;_.d=0;function Ki(){Ki=u;vn=new wn;xn=new yn;zn=new An;Bn=new Cn;Dn=new En;Fn=D(Gn,k,6,[vn,xn,zn,Bn,Dn])}s(136,137,fh);var Fn,zn,xn,Bn,vn,Dn;function wn(){un.call(this,lc,0)}s(138,136,fh,wn);function yn(){un.call(this,"DOTTED",1)}s(139,136,fh,yn);
function An(){un.call(this,"DASHED",2)}s(140,136,fh,An);function Cn(){un.call(this,"HIDDEN",3)}s(141,136,fh,Cn);function En(){un.call(this,"SOLID",4)}s(142,136,fh,En);function Hn(){Hn=u;In=new Jn;Kn=new Ln;Mn=new Nn;On=new Pn;Qn=D(Rn,k,7,[In,Kn,Mn,On])}s(143,137,Ch);var Qn,Kn,Mn,On,In;function Jn(){un.call(this,lc,0)}s(144,143,Ch,Jn);function Ln(){un.call(this,"BLOCK",1)}s(145,143,Ch,Ln);function Nn(){un.call(this,"INLINE",2)}s(146,143,Ch,Nn);function Pn(){un.call(this,"INLINE_BLOCK",3)}
s(147,143,Ch,Pn);function Sn(){Sn=u;Tn=new Un;Vn=new Wn;Xn=new Yn;Zn=new $n;ao=D(bo,k,9,[Tn,Vn,Xn,Zn])}s(148,137,rh);var ao,Tn,Vn,Xn,Zn;function Un(){un.call(this,Jb,0)}s(149,148,rh,Un);function Wn(){un.call(this,bc,1)}s(150,148,rh,Wn);function Yn(){un.call(this,dc,2)}s(151,148,rh,Yn);function $n(){un.call(this,xc,3)}s(152,148,rh,$n);function Ji(){Ji=u;co=new eo;fo=new go;ho=new io;jo=new ko;lo=new mo;no=new oo;po=new qo;ro=new so;to=new uo;vo=D(wo,k,10,[co,fo,ho,jo,lo,no,po,ro,to])}s(153,137,Fh);
var vo,ro,ho,jo,po,to,no,fo,lo,co;function eo(){un.call(this,"PX",0)}s(154,153,Fh,eo);function go(){un.call(this,"PCT",1)}s(155,153,Fh,go);function io(){un.call(this,"EM",2)}s(156,153,Fh,io);function ko(){un.call(this,"EX",3)}s(157,153,Fh,ko);function mo(){un.call(this,"PT",4)}s(158,153,Fh,mo);function oo(){un.call(this,"PC",5)}s(159,153,Fh,oo);function qo(){un.call(this,"IN",6)}s(160,153,Fh,qo);function so(){un.call(this,"CM",7)}s(161,153,Fh,so);function uo(){un.call(this,"MM",8)}s(162,153,Fh,uo);
function xo(){xo=u;yo=[];zo=[];Ao=[]}var yo,zo,Ao;function Bo(){Bo=u;Co=new Do}function Eo(a){var b;b=$doc.createElement("style");b.language="text/css";b.textContent=a||j;return b}function Fo(a){var b;a.b||(b=$doc.getElementsByTagName("head")[0],a.b=b);return a.b}function Do(){}s(165,1,{},Do);_.b=null;var Co;s(176,1,{});_.tS=function(){return"An event type"};_.i=null;s(175,176,{});_.sc=function(){this.f=!1;this.i=null};_.f=!1;s(174,175,{});_.rc=function(){return this.tc()};_.b=null;var Go=_.c=null;
function Ho(){Ho=u;Io=new Jo(ld,new Ko)}function Ko(){}s(173,174,{},Ko);_.qc=function(a){a.uc(this)};_.tc=function(){return Io};var Io;function Lo(){Lo=u;Mo=new Jo(xd,new No)}function No(){}s(177,174,{},No);_.qc=function(a){Oo();Po(this,a.c,Qo(a.b.b,a.b.b.pb.selectedIndex))};_.tc=function(){return Mo};var Mo;s(180,174,sh);function Si(a,b){return(a.b.clientX||0)-Zi(b)+(b.scrollLeft||0)+sn(b.ownerDocument)}function Ti(a,b){return(a.b.clientY||0)-aj(b)+(b.scrollTop||0)+tn(b.ownerDocument)}
function Li(a){var b;return(b=a.c)?Si(a,b):a.b.clientX||0}function Mi(a){var b;return(b=a.c)?Ti(a,b):a.b.clientY||0}s(179,180,sh);function Ro(){Ro=u;So=new Jo(Ad,new To)}function To(){}s(178,179,sh,To);_.qc=function(a){a.vc(this)};_.tc=function(){return So};var So;function Uo(){Uo=u;Vo=new Jo(Rd,new Wo)}function Wo(){}s(181,174,{},Wo);_.qc=function(){this.b.preventDefault();this.b.stopPropagation()};_.tc=function(){return Vo};var Vo;s(184,1,{82:1});_.hC=function(){return this.d};_.tS=function(){return"Event type"};
var Xo=_.d=0;function Kj(){this.d=++Xo}s(183,184,xh,Kj);function Jo(a,b){this.d=++Xo;this.b=b;!Go&&(Go=new Yo);Go.b[a]=this;this.c=a}s(182,183,xh,Jo);_.b=null;_.c=null;function Zo(){Zo=u;$o=new Jo(Td,new ap)}function ap(){}s(185,179,sh,ap);
_.qc=function(a){var b=a.b,a=!a.b.I.d,c,d;if(a!=b.I.d)if(b.kb){if(a){if(b.O!=(bp(),cp))a=dp(b.pb),c=new ep(on(b.pb,Bf),on(b.pb,Af)),d=new ep(on(b.T.jb.pb,Bf),on(b.T.jb.pb,Af)),b.F.c=a.c-(c.c-d.c),b.F.b=a.b-(c.b-d.b);fp(b.I,!0);a=on(b.T.jb.pb,Bf);gp(b,new ep(a,hp(b.T.jb).b));b.J&&b.O!=cp&&ip(b.r,b)}else fp(b.I,!1),b.O!=(bp(),cp)?gp(b,new ep(b.F.c,b.F.b)):jp(b,dp(b.r.pb)),b.J&&b.O!=cp&&kp(b.r,b);lp(b.T.jb)}else fp(b.I,!0)};_.tc=function(){return $o};var $o;function mp(){mp=u;np=new Jo(ee,new op)}
function op(){}s(186,174,{},op);_.qc=function(a){Yi(a.b.b)};_.tc=function(){return np};var np;s(188,174,{});s(187,188,{});function pp(){pp=u;qp=new Jo(Je,new rp)}function rp(){}s(189,187,{},rp);
_.qc=function(a){var b,c;c=this.b.keyCode||0;b=new sp(null,c,null);if(this.b.ctrlKey||this.b.shiftKey||this.b.metaKey||this.b.altKey)this.b.ctrlKey&&(b.f|=2),this.b.altKey&&(b.f|=8),this.b.metaKey&&(b.f|=4),this.b.shiftKey&&(b.f|=1);a:{var a=a.b.d,d,e;a.gb=!1;if(!a.x){a.gb=!0;a.I=j;e=0;d=8==b.f;b=0!=(b.f&2);switch(c){case 99:case 67:b?tp(up(a)):e=301;break;case 118:case 86:b&&(c=a.t,c.b=new vp(a),wp(),xp(c));break;case 110:case 78:e=401;break;case 111:case 79:e=501;break;case 115:case 83:e=601;break;
case 112:case 80:e=1101;break;case 102:case 70:e=701;break;case 108:case 76:e=801;break;case 98:case 66:e=901;break;case 105:case 73:e=1001;break;case 120:case 88:yp(a,pn((zp(),Ap).Tb.b.pb,Fg));e=1201;a.d=18;break;case 104:case 72:a.gb=!0;a.I=Xb;e=1300;break;case 114:case 82:a.gb=!0;a.I=tc;e=1301;break;case 116:case 84:701==a.c?(e=236,a.gb=!0,a.I=Na):801==a.c?(e=237,a.gb=!0,a.I=Ma):(e=233,a.gb=!0,a.I="-tBu");break;case 121:case 89:b?e=111:(e=234,a.gb=!0,a.I=Ta);break;case 122:case 90:b?e=110:(e=239,
a.gb=!0,a.I=Wa);break;case 97:case 65:e=235;a.gb=!0;a.I="-COOH";break;case 101:case 69:e=238;a.gb=!0;a.I=Fa;break;case 117:case 85:e=110;break;case 113:case 81:e=242;a.gb=!0;a.I=Ga;break;case 103:break a;case 27:e=202;break;case 45:701==a.c?(e=254,a.gb=!0,a.I="-F"):801==a.c?(e=255,a.gb=!0,a.I="-Cl"):901==a.c?(e=256,a.gb=!0,a.I="-Br"):1001==a.c?(e=257,a.gb=!0,a.I="-I"):501==a.c?(e=259,a.gb=!0,a.I="-OH"):401==a.c?(e=258,a.gb=!0,a.I="-NH2"):e=202;break;case 61:501==a.c?(e=250,a.gb=!0,a.I="=O"):e=203;
break;case 35:e=204;break;case 48:105==a.c?Bp(a,0):d?(e=223,a.gb=!0,a.I="-3-Furyl"):(e=221,a.gb=!0,a.I="-Furyl");break;case 49:105==a.c?Bp(a,1):1301==a.c?(a.gb=!0,a.I="-R1",e=1302):e=209;break;case 50:105==a.c&&Bp(a,2);1301==a.c&&(a.gb=!0,a.I="-R2",e=1303);break;case 51:105==a.c?Bp(a,3):1301==a.c?(a.gb=!0,a.I="-R3",e=1304):e=206;break;case 52:105==a.c?Bp(a,4):e=207;break;case 53:105==a.c?Bp(a,5):e=208;break;case 54:105==a.c?Bp(a,6):e=210;break;case 55:105==a.c?Bp(a,7):e=211;break;case 56:105==a.c?
Bp(a,8):e=212;break;case 57:105==a.c?Bp(a,9):(a.gb=!0,a.I="9 ring",e=229);break;case 100:case 68:case 8:case 127:e=104;break;case 32:e=205;break;case 109:case 77:case 1002:e=151;break;case 119:case 87:case 1003:e=152}Cp(a,e)}}};_.tc=function(){return qp};var qp;function Dp(){Dp=u;Ep=new Jo(kf,new Fp)}function Fp(){}s(190,179,sh,Fp);_.qc=function(a){a.ec(this)};_.tc=function(){return Ep};var Ep;function Fi(){Fi=u;Gi=new Jo(lf,new Gp)}function Gp(){}s(191,179,sh,Gp);_.qc=function(a){a.fc(this)};
_.tc=function(){return Gi};var Gi;function Hp(){Hp=u;Ip=new Jo(mf,new Jp)}function Jp(){}s(192,179,sh,Jp);_.qc=function(a){var b;a.f&&1==a.e&&(b=new Ri(ti,null),a.c.j=a.i+b.b,a.c.k=a.j+b.e,ui(a))};_.tc=function(){return Ip};var Ip;function Hi(){Hi=u;Ii=new Jo(of,new Kp)}function Kp(){}s(193,179,sh,Kp);_.qc=function(a){a.gc(this)};_.tc=function(){return Ii};var Ii;function Yo(){this.b={}}s(194,1,{},Yo);_.b=null;function Lp(a,b){this.b=b;this.c=a}function Mp(a,b,c){Jj&&(b=new Lp(b,c),a.Ec(b))}
s(196,175,{},Lp);_.qc=function(a){a.Ac(this)};_.rc=function(){return Jj};_.b=!1;var Jj=_.c=null;function Np(a){this.b=a}s(197,175,{},Np);_.qc=function(a){a.Bc(this)};_.rc=function(){return Op};var Op=_.b=null;function Pp(){}function Qp(a){var b;Rp&&(b=new Pp,a.Ec(b))}s(198,175,{},Pp);_.qc=function(a){a.Cc(this)};_.rc=function(){return Rp};var Rp=null;function Sp(a){this.b=a}s(199,175,{},Sp);_.qc=function(a){a.Dc(this)};_.rc=function(){return Tp};var Tp=_.b=null;function Up(){}s(200,175,{},Up);
_.qc=function(a){a.b.W&&a.b.od()};_.rc=function(){return Vp};var Vp=null;function Wp(a,b,c){a=a.b;if(!b)throw new Xp("Cannot add a handler with a null type");if(!c)throw new Xp("Cannot add a null handler");0<a.c?Yp(a,new Zp(a,b,c)):$p(a,b,null,c);return new aq(new bq(a,b,c))}
function cq(a,b){var c;!b.f||b.sc();c=b.i;b.i=a.c;try{var d=a.b,e,f,g,h,i;if(!b)throw new Xp("Cannot fire null event");try{++d.c;h=dq(d,b.rc(),null);e=null;for(i=d.d?h.Ne(h.ie()):h.Me();d.d?i.Pe():i.Hc();){g=d.d?i.Qe():i.Ic();try{b.qc(g)}catch(l){if(l=$h(l),y(l,119))f=l,!e&&(e=new eq),fq(e,f);else throw l;}}if(e)throw new gq(e);}finally{if(--d.c,0==d.c){var m,n;if(d.b)try{for(n=new Uh(d.b);n.c<n.e.ie();)m=Vh(n),m.hc()}finally{d.b=null}}}}catch(o){o=$h(o);if(y(o,83))throw new hq(o.b);throw o;}finally{null==
c?(b.f=!0,b.i=null):b.i=c}}function iq(a){jq.call(this,a,!1)}function jq(a,b){this.b=new kq(b);this.c=a}s(201,1,Bh,iq,jq);_.Ec=function(a){cq(this,a)};_.b=null;_.c=null;s(204,1,{});function Yp(a,b){!a.b&&(a.b=new pi);ii(a.b,b)}function $p(a,b,c,d){var e;e=si(a.e,b);e||(e=new Sh,x(a.e,b,e));a=e.ee(c);a||(a=new pi,e.ge(c,a));a.Ee(d)}function lq(a,b,c,d){var e,f;e=dq(a,b,c);e.Ge(d)&&e.fe()&&(f=si(a.e,b),f.he(c),f.fe()&&ci(a.e,b))}
function dq(a,b,c){a=si(a.e,b);if(!a)return mq(),mq(),nq;c=a.ee(c);return!c?(mq(),mq(),nq):c}s(203,204,{});_.b=null;_.c=0;_.d=!1;function kq(a){this.e=new Sh;this.d=a}s(202,203,{},kq);function aq(a){this.b=a}s(205,1,{},aq);_.b=null;function gq(a){ai.call(this,oq(a),pq(a));this.b=a}function pq(a){a=a.gd();return!a.Hc()?null:a.Ic()}
function oq(a){var b,c,d;b=a.ie();if(0==b)return null;b=new qq(1==b?"Exception caught: ":b+" exceptions caught: ");c=!0;for(a=a.gd();a.Hc();)d=a.Ic(),c?c=!1:b.b.b+="; ",d=d.oc(),Fm(b.b,d);return b.b.b}s(207,97,gh,gq);_.b=null;function hq(a){gq.call(this,a)}s(206,207,gh,hq);s(208,1,{},function(){});function rq(a){a=pn(a,Wd);return sq(Yf,a)?(tq(),uq):sq(Te,a)?(tq(),vq):(tq(),wq)}function tq(){tq=u;uq=new xq("RTL",0);vq=new xq("LTR",1);wq=new xq("DEFAULT",2);yq=D(zq,k,48,[uq,vq,wq])}
function xq(a,b){un.call(this,a,b)}s(210,137,{48:1,106:1,109:1,111:1},xq);var yq,wq,vq,uq;function Aq(){}function Bq(a,b){var c=Array(b);if(3==a)for(var d=0;d<b;++d){var e={};e.l=e.m=e.h=0;c[d]=e}else if(0<a){e=[null,0,!1][a];for(d=0;d<b;++d)c[d]=e}return c}function v(a,b,c,d,e){d=Bq(e,d);D(a,b,c,d);return d}function Cq(a){return Dq([Eq,E],[k,r],[105,-1],a,0,2,1)}
function Dq(a,b,c,d,e,f,g){var h,i,l;i=d[e];h=e==f-1;l=Bq(h?g:0,i);D(a[e],b[e],c[e],l);if(!h){++e;for(h=0;h<i;++h)l[h]=Dq(a,b,c,d,e,f,g)}return l}function D(a,b,c,d){Fq();var e=Gq,f=Hq;Fq();for(var g=0,h=e.length;g<h;++g)d[e[g]]=f[g];d.cZ=a;d.cM=b;d.qI=c;return d}function Iq(a,b,c){if(null!=c){if(0<a.qI&&(!c.cM||!c.cM[a.qI]))throw new Jq;if(-1==a.qI&&(c.tM==u||c.cM&&c.cM[1]))throw new Jq;if(-1>a.qI&&(c.tM==u||c.cM&&c.cM[1])&&(!c.cM||!c.cM[-a.qI]))throw new Jq;}a[b]=c}s(211,1,{},Aq);_.qI=0;
function Fq(){Fq=u;Gq=[];Hq=[];var a=new Aq,b=Gq,c=Hq,d=0,e,f;for(f in a)if(e=a[f])b[d]=f,c[d]=e,++d}var Gq,Hq;function y(a,b){return null!=a&&a.cM&&!!a.cM[b]}function Om(a){return null!=a&&a.tM!=u&&!(a.cM&&a.cM[1])}function Sm(a){return a.tM==u||a.cM&&!!a.cM[1]}function Kq(a){return null==a?null:a}function G(a){return~~Math.max(Math.min(a,2147483647),-2147483648)}
function Lq(){var a;$stats&&Mq("com.google.gwt.useragent.client.UserAgentAsserter");a=navigator.userAgent.toLowerCase();if(-1!=a.indexOf(Cf))a=Cf;else if(-1!=a.indexOf("webkit"))a="safari";else if(-1!=a.indexOf(qf)&&9<=$doc.documentMode)a="ie9";else if(-1!=a.indexOf(qf)&&8<=$doc.documentMode)a="ie8";else{var b;var c=/msie ([0-9]+)\.([0-9]+)/.exec(a);c&&3==c.length&&(b=6E3<=1E3*parseInt(c[1])+parseInt(c[2]));a=b?"ie6":-1!=a.indexOf("gecko")?"gecko1_8":"unknown"}C(Cf,a)||$wnd.alert("ERROR: Possible problem with your *.gwt.xml module file.\nThe compile time user.agent value (opera) does not match the runtime user.agent value ("+
a+"). Expect more errors.\n");$stats&&Mq("com.google.gwt.user.client.DocumentModeAsserter");b=$doc.compatMode;a=D(Nq,k,1,[Kb]);for(c=0;c<a.length&&!C(a[c],b);++c);$stats&&Mq("com.allen_sauer.gwt.dnd.client.util.DragEntryPoint");$wnd.$GWT_DND_VERSION="3.0.0";xo();Ao.unshift("HTML{margin:0 !important;border:none !important;}.dragdrop-handle{cursor:move;user-select:none;-khtml-user-select:none;-moz-user-select:none;}.GBVTBU-BB{zoom:1;}.dragdrop-dragging{zoom:normal;}.GBVTBU-BI{border:1px dashed #1e90ff;margin:0 !important;zoom:1;z-index:100;}.dragdrop-flow-panel-positioner{color:#1e90ff;display:inline;text-align:center;vertical-align:middle;}.dragdrop-proxy{background-color:#7af;}.dragdrop-selected,.dragdrop-dragging,.dragdrop-proxy{filter:alpha(opacity \\= 30);opacity:0.3;}.dragdrop-movable-panel{z-index:200;margin:0 !important;border:none !important;}");
xo();0!=Ao.length&&(a=Ao.join(j),b=(Bo(),Co),a=Eo(a),Fo(b).insertBefore(a,b.b.firstChild),Ao.length=0);0!=yo.length&&(a=yo.join(j),b=(Bo(),Co),a=Eo(a),Fo(b).appendChild(a),yo.length=0);0!=zo.length&&(a=zo.join(j),b=(Bo(),Co),a=Eo(a),Fo(b).appendChild(a),zo.length=0);$stats&&Mq("export.client.JSME_export");new Oq;$wnd.jsmeOnLoad&&typeof $wnd.jsmeOnLoad==ke?$wnd.jsmeOnLoad():$wnd.alert('Warning: the global function "jsmeOnLoad" is not defined.\n If you have defined it, there might be a syntax error in your javascript code.')}
function $h(a){return y(a,119)?a:new Mm(a)}function Pq(a){return Qq(a&4194303,a>>22&4194303,0>a?1048575:0)}function Rq(a){return Qq(a.l,a.m,a.h)}function Qq(a,b,c){return _=new Sq,_.l=a,_.m=b,_.h=c,_}
function Tq(a,b){var c,d,e,f,g;if(0==b.l&&0==b.m&&0==b.h)throw new Uq;if(0==a.l&&0==a.m&&0==a.h)return Vq=Qq(0,0,0),Qq(0,0,0);if(524288==b.h&&0==b.m&&0==b.l)return c=a,524288==c.h&&0==c.m&&0==c.l?(Vq=Qq(0,0,0),c=Rq((Wq(),Xq))):(Vq=Qq(c.l,c.m,c.h),c=Qq(0,0,0)),c;g=!1;0!=b.h>>19&&(b=Yq(b),g=!0);e=b.l;0!=(e&e-1)?f=-1:(d=b.m,0!=(d&d-1)?f=-1:(c=b.h,f=0!=(c&c-1)||0==c&&0==d&&0==e?-1:0==c&&0==d&&0!=e?Zq(e):0==c&&0!=d&&0==e?Zq(d)+22:0!=c&&0==d&&0==e?Zq(c)+44:-1));c=d=e=!1;if(524288==a.h&&0==a.m&&0==a.l)if(e=
d=!0,-1==f)a=Rq((Wq(),$q)),c=!0,g=!g;else return c=ar(a,f),g&&br(c),Vq=Qq(0,0,0),c;else 0!=a.h>>19&&(e=!0,a=Yq(a),c=!0,g=!g);if(-1!=f){c=a;d=f;f=g;g=e;e=ar(c,d);f&&br(e);var h;22>=d?(f=c.l&(1<<d)-1,h=c=0):44>=d?(f=c.l,h=c.m&(1<<d-22)-1,c=0):(f=c.l,h=c.m,c=c.h&(1<<d-44)-1);c=Qq(f,h,c);g?Vq=Yq(c):Vq=Qq(c.l,c.m,c.h);return e}if(!cr(a,b))return e?Vq=Yq(a):Vq=Qq(a.l,a.m,a.h),Qq(0,0,0);c=c?a:Qq(a.l,a.m,a.h);var i,l,m,n;h=dr(b)-dr(c);l=h&63;22>l?(f=b.l<<l,i=b.m<<l|b.l>>22-l,l=b.h<<l|b.m>>22-l):44>l?(f=0,
i=b.l<<l-22,l=b.m<<l-22|b.l>>44-l):(i=f=0,l=b.l<<l-44);i=Qq(f&4194303,i&4194303,l&1048575);for(f=Qq(0,0,0);0<=h;){l=c;var o=n=m=void 0,o=l.h-i.h;0>o?l=!1:(m=l.l-i.l,n=l.m-i.m+(m>>22),o+=n>>22,0>o?l=!1:(l.l=m&4194303,l.m=n&4194303,l.h=o&1048575,l=!0));if(l&&(22>h?f.l|=1<<h:44>h?f.m|=1<<h-22:f.h|=1<<h-44,0==c.l&&0==c.m&&0==c.h))break;l=i.m;m=i.h;n=i.l;i.h=m>>>1;i.m=l>>>1|(m&1)<<21;i.l=n>>>1|(l&1)<<21;--h}g&&br(f);e?(Vq=Yq(c),d&&(c=Vq,g=(Wq(),Xq),e=c.l-g.l,d=c.m-g.m+(e>>22),Vq=Qq(e&4194303,d&4194303,
c.h-g.h+(d>>22)&1048575))):Vq=Qq(c.l,c.m,c.h);return f}function br(a){var b,c,d;b=~a.l+1&4194303;c=~a.m+(0==b?1:0)&4194303;d=~a.h+(0==b&&0==c?1:0)&1048575;a.l=b;a.m=c;a.h=d}function dr(a){var b;b=er(a.h);return 32==b?(b=er(a.m),32==b?er(a.l)+32:b+20-10):b-12}var Vq=null;function fr(a,b){var c,d;c=a.l+b.l;d=a.m+b.m+(c>>22);return Qq(c&4194303,d&4194303,a.h+b.h+(d>>22)&1048575)}function gr(a,b){return Qq(a.l&b.l,a.m&b.m,a.h&b.h)}function hr(a,b){return a.l==b.l&&a.m==b.m&&a.h==b.h}
function H(a){var b,c,d;if(isNaN(a))return Wq(),ir;if(-9223372036854775E3>a)return Wq(),jr;if(9223372036854775E3<=a)return Wq(),$q;d=!1;0>a&&(d=!0,a=-a);c=0;17592186044416<=a&&(c=G(a/17592186044416),a-=17592186044416*c);b=0;4194304<=a&&(b=G(a/4194304),a-=4194304*b);a=G(a);b=Qq(a,b,c);d&&br(b);return b}function kr(a){var b,c;return-129<a&&128>a?(b=a+128,null==lr&&(lr=v(mr,k,49,256,0)),c=lr[b],!c&&(c=lr[b]=Pq(a)),c):Pq(a)}
function nr(a){var b=Og,c,d;c=a.h>>19;d=b.h>>19;return 0==c?0!=d||a.h>b.h||a.h==b.h&&a.m>b.m||a.h==b.h&&a.m==b.m&&a.l>b.l:!(0==d||a.h<b.h||a.h==b.h&&a.m<b.m||a.h==b.h&&a.m==b.m&&a.l<=b.l)}function cr(a,b){var c,d;c=a.h>>19;d=b.h>>19;return 0==c?0!=d||a.h>b.h||a.h==b.h&&a.m>b.m||a.h==b.h&&a.m==b.m&&a.l>=b.l:!(0==d||a.h<b.h||a.h==b.h&&a.m<b.m||a.h==b.h&&a.m==b.m&&a.l<b.l)}
function or(a,b){var c,d,e,f,g,h,i,l,m,n,o,q,w,F;c=a.l&8191;d=a.l>>13|(a.m&15)<<9;e=a.m>>4&8191;f=a.m>>17|(a.h&255)<<5;g=(a.h&1048320)>>8;h=b.l&8191;i=b.l>>13|(b.m&15)<<9;l=b.m>>4&8191;m=b.m>>17|(b.h&255)<<5;n=(b.h&1048320)>>8;o=c*h;w=d*h;q=e*h;F=f*h;g*=h;0!=i&&(w+=c*i,q+=d*i,F+=e*i,g+=f*i);0!=l&&(q+=c*l,F+=d*l,g+=e*l);0!=m&&(F+=c*m,g+=d*m);0!=n&&(g+=c*n);c=(o&4194303)+((w&511)<<13);o=(o>>22)+(w>>9)+((q&262143)<<4)+((F&31)<<17)+(c>>22);q=(q>>18)+(F>>5)+((g&4095)<<8)+(o>>22);return Qq(c&4194303,o&
4194303,q&1048575)}function Yq(a){var b,c;b=~a.l+1&4194303;c=~a.m+(0==b?1:0)&4194303;return Qq(b,c,~a.h+(0==b&&0==c?1:0)&1048575)}function ar(a,b){var c,d,e,b=b&63;c=a.h;(d=0!=(c&524288))&&(c|=-1048576);22>b?(e=c>>b,d=a.m>>b|c<<22-b,c=a.l>>b|a.m<<22-b):44>b?(e=d?1048575:0,d=c>>b-22,c=a.m>>b-22|c<<44-b):(e=d?1048575:0,d=d?4194303:0,c>>=b-44);return Qq(c&4194303,d&4194303,e&1048575)}function I(a){return a.l|a.m<<22}
function pr(a){var b,c,d;if(0==a.l&&0==a.m&&0==a.h)return cb;if(524288==a.h&&0==a.m&&0==a.l)return"-9223372036854775808";if(0!=a.h>>19)return Da+pr(Yq(a));for(c=j;!(0==a.l&&0==a.m&&0==a.h);){b=kr(1E9);a=Tq(a,b);b=j+I(Vq);if(!(0==a.l&&0==a.m&&0==a.h))for(d=9-b.length;0<d;--d)b=cb+b;c=b+c}return c}var lr=null;function Wq(){Wq=u;$q=Qq(4194303,4194303,524287);jr=Qq(0,0,524288);Xq=kr(1);kr(2);ir=kr(0)}var $q,jr,Xq,ir;function Sq(){}s(220,1,{49:1},Sq);
function Mq(a){$stats({moduleName:$moduleName,sessionId:$sessionId,subSystem:"startup",evtGroup:"moduleStartup",millis:(new Date).getTime(),type:"onModuleLoadStart",className:a})}function qr(a,b,c){this.d=this.c=0;this.b=c;this.f=b;this.e=a}s(225,1,{},qr);_.b=0;_.c=0;_.d=0;_.e=null;_.f=0;function rr(a,b){Fm(a.b.b,b.b);return a}function sr(){this.b=new tr}s(226,1,{},sr);function ur(a){if(null==a)throw new Xp("css is null");this.b=a}s(227,1,{50:1,106:1},ur);
_.eQ=function(a){return!y(a,50)?!1:C(this.b,a.b)};_.hC=function(){return vr(this.b)};_.b=null;function wr(a){if(null==a)throw new Xp("html is null");this.b=a}s(229,1,ch,wr);_.Fc=function(){return this.b};_.eQ=function(a){return!y(a,52)?!1:C(this.b,a.b)};_.hC=function(){return vr(this.b)};_.b=null;s(230,1,ch,function(){this.b=j});_.Fc=function(){return this.b};_.eQ=function(a){return!y(a,52)?!1:C(this.b,a.b)};_.hC=function(){return vr(this.b)};_.b=null;
function xr(){xr=u;yr=RegExp(pa,le);zr=RegExp(tb,le);Ar=RegExp(qb,le);Br=RegExp(va,le);Cr=RegExp(da,le)}function Dr(a){xr();-1!=a.indexOf(pa)&&(a=a.replace(yr,ra));-1!=a.indexOf(qb)&&(a=a.replace(Ar,ta));-1!=a.indexOf(tb)&&(a=a.replace(zr,sa));-1!=a.indexOf(da)&&(a=a.replace(Cr,"&quot;"));-1!=a.indexOf(va)&&(a=a.replace(Br,"&#39;"));return a}var yr,zr,Ar,Cr,Br;function Er(a){if(null==a)throw new Xp("uri is null");this.b=a}s(232,1,{53:1},Er);_.eQ=function(a){return!y(a,53)?!1:C(this.b,a.b)};_.hC=function(){return vr(this.b)};
_.b=null;function Fr(){Fr=u}s(234,1,{});function Gr(){}s(235,1,{},Gr);var Hr=null;function Ir(){}s(236,234,{},Ir);var Jr=null;function Kr(a,b,c){var d,e,f,g,h;if(a)for(g=0,h=c.length;g<h;++g){f=c[g];e=dq(a.b,f,null).ie();for(e-=1;0<=e;--e)if(d=dq(a.b,f,null).Le(e),y(d,54)&&Rm(d.b,b)){var i=a.b,l=f;0<i.c?Yp(i,new Lr(i,l,null,d)):lq(i,l,null,d)}}}s(237,1,yh);_.b=null;function Mr(a){this.b=a}s(238,237,yh,Mr);_.Gc=function(a){a.d&&(this.b.Lc(a.e)||(a.b=!0))};function Nr(a){this.b=a}s(239,237,yh,Nr);
_.Cc=function(){Or(this.b.b)};function Pr(){Lm()}s(240,97,$g,Pr);function Qr(a){0!=a.c.d&&!a.f&&!a.d&&(a.f=!0,yj(a.e,1))}function ds(){this.b=new es(this);this.c=new pi;this.e=new fs(this);this.i=new gs(this)}s(241,1,{},ds);_.d=!1;_.f=!1;function es(a){Ej();this.b=a}s(242,24,{},es);_.nc=function(){if(this.b.d){var a=this.b,b;b=hs(a.i.e.c,a.i.c);is(a.i);y(b,55)&&new Pr;a.d=!1;Qr(a)}};_.b=null;function fs(a){Ej();this.b=a}s(243,24,{},fs);
_.nc=function(){this.b.f=!1;var a=this.b,b=uj(),c,d,e;e=!1;try{a.d=!0;a.i.b=a.c.d;for(yj(a.b,1E4);a.i.d<a.i.b;){d=js(a.i);try{if(null==d)break;y(d,55)&&(c=d,c.hc())}finally{(e=-1==a.i.c)||is(a.i)}if(100<=uj()-b)break}}finally{e||(sj(a.b),a.d=!1,Qr(a))}};_.b=null;function js(a){var b;a.c=a.d;b=hs(a.e.c,a.d++);a.d>=a.b&&(a.d=0);return b}function is(a){ks(a.e.c,a.c);--a.b;a.c<=a.d&&0>--a.d&&(a.d=0);a.c=-1}function gs(a){this.e=a}s(244,1,{},gs);_.Hc=function(){return this.d<this.b};_.Ic=function(){return js(this)};
_.Jc=function(){is(this)};_.b=0;_.c=-1;_.d=0;_.e=null;function ls(a,b){var c=(ms(),ns(b));a.appendChild(c)}function os(a,b,c){var d;d=Xi;Xi=a;b==yi&&8192==ps(a.type)&&(yi=null);c.Kc(a);Xi=d}var Xi=null,yi=null;function qs(){qs=u;rs=new ds}function Pi(a){qs();if(!a)throw new Xp("cmd cannot be null");var b=rs;ii(b.c,a);Qr(b)}var rs;function ss(a){zi();!ts&&(ts=new Kj);us||(us=new jq(null,!0),vs=new ws);return Wp(us,ts,a)}var us=null;function xs(a){a.f=!1;a.i=null;a.b=!1;a.c=!1;a.d=!0;a.e=null}
function ws(){}s(250,175,{},ws);_.qc=function(a){a.Gc(this);vs.d=!1};_.rc=function(){return ts};_.sc=function(){xs(this)};_.b=!1;_.c=!1;_.d=!1;var ts=_.e=null,vs=null;function ys(){ys=u;zs=new As;Bs()||(zs=null)}var zs=null;function Gj(){}s(252,1,{},Gj);_.Ac=function(){for(;0<(Ej(),Fj).d;)sj(hs(Fj,0))};function Ij(a,b){return Wp((!Cs&&(Cs=new Ds),Cs),a,b)}function Es(a){Hj();Fs||(Gs(),Fs=!0);return Ij((!Rp&&(Rp=new Kj),Rp),a)}function Hj(){Hs||(Is(),Hs=!0)}
function Js(){var a;Hs&&(a=new Ks,Cs&&cq(Cs,a));return null}var Hs=!1,Cs=null,Ls=0,Ms=0,Fs=!1;function Ns(){Ns=u;Os=new Kj}function Ks(){Ns()}s(254,175,{},Ks);_.qc=function(){null.kf()};_.rc=function(){return Os};var Os;function Ds(){iq.call(this,null)}s(256,201,Bh,Ds);
function ps(a){switch(a){case ld:return 4096;case xd:return 1024;case Ad:return 1;case Td:return 2;case ee:return 2048;case Je:return 128;case Ke:return 256;case Le:return 512;case Re:return 32768;case "losecapture":return 8192;case kf:return 4;case lf:return 64;case mf:return 32;case nf:return 16;case of:return 8;case "scroll":return 16384;case "error":return 65536;case "DOMMouseScroll":case pf:return 131072;case Rd:return 262144;case "paste":return 524288;case zg:return 1048576;case yg:return 2097152;
case xg:return 4194304;case wg:return 8388608;case oe:return 16777216;case me:return 33554432;case ne:return 67108864;default:return-1}}function zi(){Ps||(Qs(),Ps=!0)}var Ps=!1;function Rs(a,b){for(var c=0,d=a.firstChild;d;){if(1==d.nodeType){if(b==c)return d;++c}d=d.nextSibling}return null}function Ss(a){for(var b=0,a=a.firstChild;a;)1==a.nodeType&&++b,a=a.nextSibling;return b}
function Qs(){Ts=Oj(function(a){var b;var c=us,d,e,f;ts&&c&&Us(c.b.e,ts)?(b=vs.b,d=vs.c,e=vs.d,f=vs.e,xs(vs),vs.e=a,cq(c,vs),c=!(vs.b&&!vs.c),vs.b=b,vs.c=d,vs.d=e,vs.e=f,b=c):b=!0;!b&&a&&(a.cancelBubble=!0,a.preventDefault());return!b?(a.stopPropagation(),a.preventDefault(),!1):!0});Vs=Oj(function(a){for(var b,c=this;c&&!(b=c.__listener);)c=c.parentNode;c&&1!=c.nodeType&&(c=null);b&&!Om(b)&&y(b,56)&&os(a,c,b)});Ws=Oj(function(a){a.preventDefault();Vs.call(this,a)});Xs=Oj(function(a){this.__gwtLastUnhandledEvent=
a.type;Vs.call(this,a)});Ys=Oj(function(a){if(Ts(a)){var b=Ai;b&&b.__listener&&!Om(b.__listener)&&y(b.__listener,56)&&(os(a,b,b.__listener),a.stopPropagation())}});$wnd.addEventListener(Ad,Ys,!0);$wnd.addEventListener(Td,Ys,!0);$wnd.addEventListener(kf,Ys,!0);$wnd.addEventListener(of,Ys,!0);$wnd.addEventListener(lf,Ys,!0);$wnd.addEventListener(nf,Ys,!0);$wnd.addEventListener(mf,Ys,!0);$wnd.addEventListener(pf,Ys,!0);$wnd.addEventListener(Je,Ts,!0);$wnd.addEventListener(Le,Ts,!0);$wnd.addEventListener(Ke,
Ts,!0);$wnd.addEventListener(zg,Ys,!0);$wnd.addEventListener(yg,Ys,!0);$wnd.addEventListener(xg,Ys,!0);$wnd.addEventListener(wg,Ys,!0);$wnd.addEventListener(oe,Ys,!0);$wnd.addEventListener(me,Ys,!0);$wnd.addEventListener(ne,Ys,!0)}function Zs(a,b,c){for(var d=0,e=a.firstChild,f=null;e;){if(1==e.nodeType){if(d==c){f=e;break}++d}e=e.nextSibling}a.insertBefore(b,f)}var Ai=null,Ts=null,Ys=null,Ws=null,Vs=null,Xs=null;
function $s(a,b){a.__eventBits=b;a.onclick=b&1?Vs:null;a.ondblclick=b&2?Vs:null;a.onmousedown=b&4?Vs:null;a.onmouseup=b&8?Vs:null;a.onmouseover=b&16?Vs:null;a.onmouseout=b&32?Vs:null;a.onmousemove=b&64?Vs:null;a.onkeydown=b&128?Vs:null;a.onkeypress=b&256?Vs:null;a.onkeyup=b&512?Vs:null;a.onchange=b&1024?Vs:null;a.onfocus=b&2048?Vs:null;a.onblur=b&4096?Vs:null;a.onlosecapture=b&8192?Vs:null;a.onscroll=b&16384?Vs:null;a.onload=b&32768?Xs:null;a.onerror=b&65536?Vs:null;a.onmousewheel=b&131072?Vs:null;
a.oncontextmenu=b&262144?Vs:null;a.onpaste=b&524288?Vs:null}function at(){var a;at=u;bt=(a=$doc,C(a.compatMode,Kb)?a.documentElement:a.body)}var bt;function ct(){this.c=new pi}function dt(a){a=a[$c];return null==a?-1:a}s(261,1,{},ct);_.b=null;function et(a,b){this.b=a;this.c=b}s(262,1,{},et);_.b=0;_.c=null;s(263,1,Bh);_.Mc=function(a){return decodeURI(a.replace("%23",na))};_.Ec=function(a){cq(this.b,a)};_.Nc=function(a){a=null==a?j:a;if(!C(a,null==ft?j:ft))ft=a,Vp&&(a=new Up,cq(this.b,a))};
var ft=j;function Bs(){function a(){$wnd.setTimeout(a,250);e()}var b=zs,c=j,d=$wnd.location.hash;0<d.length&&(c=b.Mc(d.substring(1)));ft=c;var e=Oj(function(){var a=j,c=$wnd.location.hash;0<c.length&&(a=b.Mc(c.substring(1)));b.Nc(a)});a();return!0}function As(){this.b=new iq(null)}s(264,263,Bh,As);
function Is(){var a=$wnd.onbeforeunload,b=$wnd.onunload;$wnd.onbeforeunload=function(b){var d;try{d=Oj(Js)()}finally{b=a&&a(b)}if(null!=d)return d;if(null!=b)return b};$wnd.onunload=Oj(function(a){try{Hs&&Mp((!Cs&&(Cs=new Ds),Cs),null,!1)}finally{b&&b(a),$wnd.onresize=null,$wnd.onscroll=null,$wnd.onbeforeunload=null,$wnd.onunload=null}})}
function Gs(){var a=$wnd.onresize;$wnd.onresize=Oj(function(b){try{var c,d;if(Fs&&(d=Di(),c=Ei(),Ms!=d||Ls!=c))Ms=d,Ls=c,Qp((!Cs&&(Cs=new Ds),Cs))}finally{a&&a(b)}})}function oi(a,b){Wh(a.Sc(),b,!0)}function ni(a,b){Wh(a.Sc(),b,!1)}function Ci(a,b,c){0<=b&&a.Xc(b+Kf);0<=c&&a.Vc(c+Kf)}function gt(a){var b,a=pn(a,zd);b=ht(a,it(32));return 0<=b?a.substr(0,b-0):a}
function Wh(a,b,c){if(!a)throw new di(pc);b=ln(b);if(0==b.length)throw new Lj(Mc);if(c){var d,e,f;d=ln(b);f=a.className;for(b=f.indexOf(d);-1!=b;){if(0==b||32==f.charCodeAt(b-1))if(c=b+d.length,e=f.length,c==e||c<e&&32==f.charCodeAt(c))break;b=f.indexOf(d,b+1)}-1==b&&(0<f.length&&(f+=ca),a.className=f+d)}else{var g,b=ln(b);e=a.className;for(c=e.indexOf(b);-1!=c;){if(0==c||32==e.charCodeAt(c-1))if(f=c+b.length,g=e.length,f==g||f<g&&32==e.charCodeAt(f))break;c=e.indexOf(b,c+1)}-1!=c&&(f=ln(e.substr(0,
c-0)),b=ln(mn(e,c+b.length)),0==f.length?d=b:0==b.length?d=f:d=f+ca+b,a.className=d)}}function jt(a,b){a.style.display=b?j:uf;a.setAttribute("aria-hidden",""+!b)}s(270,1,Ih);_.Oc=function(){return Zi(this.pb)};_.Pc=function(){return aj(this.pb)};_.Qc=function(){return on(this.pb,Af)};_.Rc=function(){return on(this.pb,Bf)};_.Sc=function(){return this.pb};_.Tc=function(){return this.pb.style.display!=uf};_.Uc=function(){throw new kt;};_.Vc=function(a){this.pb.style[De]=a};
_.Wc=function(a){jt(this.pb,a)};_.Xc=function(a){this.pb.style[Kg]=a};_.tS=function(){return!this.pb?"(null handle)":this.pb.outerHTML};_.pb=null;
function A(a,b,c){var d;d=ps(c.c);if(-1==d){var e=a.pb;d=c.c;zi();switch(d){case "drag":e.ondrag=Vs;break;case "dragend":e.ondragend=Vs;break;case "dragenter":e.ondragenter=Ws;break;case "dragleave":e.ondragleave=Vs;break;case "dragover":e.ondragover=Ws;break;case "dragstart":e.ondragstart=Vs;break;case "drop":e.ondrop=Vs;break;case "canplaythrough":case "ended":case "progress":e.removeEventListener(d,Vs,!1);e.addEventListener(d,Vs,!1);break;default:throw"Trying to sink unknown event type "+d;}}else-1==
a.lb?(e=a.pb,d|=a.pb.__eventBits||0,zi(),$s(e,d)):a.lb|=d;return Wp(!a.mb?a.mb=new iq(a):a.mb,c,b)}function lt(a,b,c){return Wp(!a.mb?a.mb=new iq(a):a.mb,c,b)}function mt(a){var b;if(a.$c())throw new nt("Should only call onAttach when the widget is detached from the browser's document");a.kb=!0;a.pb.__listener=a;b=a.lb;a.lb=-1;if(0<b)if(-1==a.lb){var c=a.pb;b|=a.pb.__eventBits||0;zi();$s(c,b)}else a.lb|=b;a.Yc();a.bd()}
function ot(a,b){var c;switch(ps(b.type)){case 16:case 32:if((c=b.relatedTarget)&&a.pb.contains(c))return}c=a.pb;var d,e,f;if(Go&&(f=Go.b[b.type]))d=f.b.b,e=f.b.c,f.b.b=b,f.b.c=c,a.mb&&cq(a.mb,f.b),f.b.b=d,f.b.c=e}function pt(a){if(!a.$c())throw new nt("Should only call onDetach when the widget is attached to the browser's document");try{a.cd()}finally{try{a.Zc()}finally{a.pb.__listener=null,a.kb=!1}}}
function Yi(a){if(a.ob)if(y(a.ob,69))a.ob.dd(a);else{if(a.ob)throw new nt("This widget's parent does not implement HasWidgets");}else if(wi(),Us(qt.b,a)){wi();try{a.ad()}finally{ci(qt.b,a)}}}function rt(a,b){var c;c=a.ob;if(b){if(c)throw new nt("Cannot set a new parent without first clearing the old parent");a.ob=b;b.$c()&&a._c()}else try{c&&c.$c()&&a.ad()}finally{a.ob=null}}s(269,270,Hh);_.Yc=function(){};_.Zc=function(){};_.Ec=function(a){this.mb&&cq(this.mb,a)};_.$c=function(){return this.kb};
_._c=function(){mt(this)};_.Kc=function(a){ot(this,a)};_.ad=function(){pt(this)};_.bd=function(){};_.cd=function(){};_.kb=!1;_.lb=0;_.mb=null;_.nb=null;_.ob=null;function st(a){for(a=new tt(a);a.b.b<a.b.c.d-1;)ut(a.b),vt(a.b)}s(268,269,Jh);_.Yc=function(){wt(this,(xt(),yt))};_.Zc=function(){wt(this,(xt(),zt))};function At(a,b,c){Yi(b);var d=a.q;Bt(d,b,d.d);d=(ms(),ns(b.pb));c.appendChild(d);rt(b,a)}
function Ct(a,b,c,d,e){var f;if(0>d||d>a.q.d)throw new Dt;b.ob==a&&(f=a.ed(b),f<d&&--d);Yi(b);Bt(a.q,b,d);e?(e=b.pb,Zs(c,(ms(),ns(e)),d)):(e=(ms(),ns(b.pb)),c.appendChild(e));rt(b,a)}function Et(a,b){var c;if(b.ob!=a)return!1;try{rt(b,null)}finally{c=b.pb;rn(c).removeChild(c);c=a.q;var d;d=Ft(c,b);if(-1==d)throw new Gt;if(0>d||d>=c.d)throw new Dt;for(--c.d;d<c.d;++d)Iq(c.b,d,c.b[d+1]);Iq(c.b,c.d,null)}return!0}s(267,268,Jh);_.ed=function(a){return Ft(this.q,a)};
_.fd=function(a,b,c,d){Ct(this,a,b,c,d)};_.gd=function(){return new Ht(this.q)};_.dd=function(a){return Et(this,a)};function vi(a,b,c,d){var e;Yi(b);e=a.q.d;a.kd(b,c,d);a.fd(b,a.pb,e,!0)}function It(a,b){if(b.ob!=a)throw new Lj("Widget must be a child of this panel.");}function Jt(a,b){var c;(c=Et(a,b))&&Kt(b.pb);return c}function Lt(a,b,c){a=a.pb;-1==b&&-1==c?Kt(a):(a.style[Gf]=bd,a.style[Me]=b+Kf,a.style[vg]=c+Kf)}
function Mt(){var a=$doc.createElement(Zd);this.q=new Nt(this);this.pb=a;this.pb.style[Gf]="relative";this.pb.style[Ef]=Ee}function Kt(a){a.style[Me]=j;a.style[vg]=j;a.style[Gf]=j}s(266,267,Jh,Mt);_.hd=function(a){At(this,a,this.pb)};_.dd=function(a){return Jt(this,a)};_.jd=function(a,b,c){It(this,a);this.kd(a,b,c)};_.kd=function(a,b,c){Lt(a,b,c)};function Ot(a,b){if(a.md())throw new nt("SimplePanel can only contain one child widget");a.nd(b)}
function Pt(a,b){if(a.jb!=b)return!1;try{rt(b,null)}finally{a.ld().removeChild(b.pb),a.jb=null}return!0}function Qt(a,b){if(b!=a.jb&&(b&&Yi(b),a.jb&&a.dd(a.jb),a.jb=b)){var c=(ms(),ns(a.jb.pb));a.ld().appendChild(c);rt(b,a)}}function Rt(){this.pb=$doc.createElement(Zd)}s(274,268,Jh,Rt);_.ld=function(){return this.pb};_.md=function(){return this.jb};_.gd=function(){return new St(this)};_.dd=function(a){return Pt(this,a)};_.nd=function(a){Qt(this,a)};_.jb=null;
function Tt(a,b){a.hb&&(Ut(a.gb,!1,!1),Mp(a,a,b))}function Vt(a){var b;if(b=a.jb)null!=a.X&&b.Vc(a.X),null!=a.Y&&b.Xc(a.Y)}function Wt(a,b,c){a.cb=b;a.ib=c;c-=0;a=a.pb;a.style[Me]=b-0+(Ji(),Kf);a.style[vg]=c+Kf}function Xt(a){a.hb||(a.kb&&Yi(a),Ut(a.gb,!0,!1))}s(273,274,Jh);_.ld=function(){return qn(this.pb)};_.Qc=function(){return on(this.pb,Af)};_.Rc=function(){return on(this.pb,Bf)};_.Sc=function(){return rn(qn(this.pb))};_.od=function(){this.pd(!1)};_.pd=function(a){Tt(this,a)};
_.Tc=function(){return!C(Ee,this.pb.style[Hg])};_.Lc=function(){return!0};_.Gc=function(){};_.cd=function(){this.hb&&Ut(this.gb,!1,!0)};_.Vc=function(a){this.X=a;Vt(this);0==a.length&&(this.X=null)};_.qd=function(a,b){Wt(this,a,b)};_.Wc=function(a){this.pb.style[Hg]=a?Ig:Ee};_.nd=function(a){Qt(this,a);Vt(this)};_.Xc=function(a){this.Y=a;Vt(this);0==a.length&&(this.Y=null)};_.rd=function(){Xt(this)};_.V=!1;_.W=!1;_.X=null;_.Y=null;_.Z=null;_._=null;_.ab=!1;_.bb=!1;_.cb=-1;_.db=!1;_.eb=null;_.fb=!1;
_.hb=!1;_.ib=-1;
function Yt(a,b){var c;Rt.call(this);this.$=new Zt;this.U=($t(),au);this.gb=new bu(this);this.pb.appendChild($doc.createElement(Zd));this.qd(0,0);rn(qn(this.pb))[zd]="gwt-PopupPanel";qn(this.pb)[zd]=Ff;this.W=this.V=a;this.db=!1;c=D(Nq,k,1,[b+"Top",b+"Middle",b+"Bottom"]);this.T=new cu(c);this.T.Sc()[zd]=j;c=rn(qn(this.pb));var d="gwt-DecoratedPopupPanel";if(!c)throw new di(pc);d=ln(d);if(0==d.length)throw new Lj(Mc);var e=c.className.split(/\s+/);if(e){var f=e[0],g=f.length;e[0]=d;for(var h=1,i=
e.length;h<i;h++){var l=e[h];l.length>g&&l.charAt(g)==Da&&0==l.indexOf(f)&&(e[h]=d+l.substring(g))}c.className=e.join(ca)}Qt(this,this.T);Vt(this);Wh(qn(this.pb),Ff,!1);Wh(this.T.c,b+"Content",!0)}s(272,273,Jh);_.Yc=function(){mt(this.T)};_.Zc=function(){pt(this.T)};_.md=function(){return this.T.jb};_.gd=function(){return new St(this.T)};_.dd=function(a){return this.T.dd(a)};_.nd=function(a){Qt(this.T,a);Vt(this)};_.T=null;s(271,272,Jh);_.ad=function(){pt(this)};
function du(){du=u;eu=new fu(Jb,0,($t(),au));gu=new fu(rc,1,hu);iu=new fu(Ac,2,ju);ku=D(lu,k,57,[eu,gu,iu])}function fu(a,b,c){un.call(this,a,b);this.b=c}s(275,137,{57:1,106:1,109:1,111:1},fu);_.b=null;var ku,eu,gu,iu;function mu(){mu=u;nu=D(Nq,k,1,[vg,jf,sd])}
function cu(a){var b;mu();var c,d;c=this.pb=$doc.createElement(lg);this.d=$doc.createElement(og);ls(c,this.d);c[vd]=0;for(c=c[ud]=0;c<a.length;++c)d=(b=$doc.createElement(Ag),b[zd]=a[c],ls(b,ou(a[c]+"Left")),ls(b,ou(a[c]+Lb)),ls(b,ou(a[c]+"Right")),b),ls(this.d,d),1==c&&(this.c=qn(Rs(d,1)));this.pb[zd]="gwt-DecoratorPanel"}function ou(a){var b,c;c=$doc.createElement(pg);b=$doc.createElement(Zd);var d=(ms(),ns(b));c.appendChild(d);c[zd]=a;b[zd]=a+"Inner";return c}s(277,274,dh,cu);_.ld=function(){return this.c};
_.c=null;_.d=null;var nu;s(276,277,dh);s(278,1,{});function xt(){xt=u;yt=new pu;zt=new qu}function ru(a){gq.call(this,a)}function wt(a,b){xt();var c,d,e;c=null;for(e=a.gd();e.Hc();){d=e.Ic();try{b.sd(d)}catch(f){if(f=$h(f),y(f,119))d=f,!c&&(c=new eq),fq(c,d);else throw f;}}if(c)throw new ru(c);}s(279,206,gh,ru);var yt,zt;function pu(){}s(280,1,{},pu);_.sd=function(a){a._c()};function qu(){}s(281,1,{},qu);_.sd=function(a){a.ad()};s(284,269,Wg);_.wc=function(a){return A(this,a,(Dp(),Dp(),Ep))};
_.xc=function(a){return A(this,a,(Fi(),Fi(),Gi))};_.yc=function(a){return A(this,a,(Hp(),Hp(),Ip))};_.zc=function(a){return A(this,a,(Hi(),Hi(),Ii))};_._c=function(){mt(this);-1==this.pb.tabIndex&&(this.pb.tabIndex=0)};s(283,284,{11:1,12:1,13:1,14:1,15:1,16:1,17:1,18:1,19:1,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:1,28:1,29:1,30:1,31:1,32:1,33:1,34:1,35:1,36:1,37:1,38:1,39:1,40:1,41:1,42:1,43:1,45:1,47:1,51:1,56:1,59:1,62:1,63:1,64:1,65:1,66:1,67:1,68:1,71:1,75:1,76:1,77:1,78:1,79:1,81:1});
function su(a){var b;this.pb=(b=$doc.createElement("BUTTON"),b.type=td,b);this.pb[zd]="gwt-Button";this.pb.innerHTML=a||j}s(282,283,{11:1,12:1,13:1,14:1,15:1,16:1,17:1,18:1,19:1,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:1,28:1,29:1,30:1,31:1,32:1,33:1,34:1,35:1,36:1,37:1,38:1,39:1,40:1,41:1,42:1,43:1,45:1,47:1,51:1,56:1,58:1,59:1,62:1,63:1,64:1,65:1,66:1,67:1,68:1,71:1,75:1,76:1,77:1,78:1,79:1,81:1},su);
function tu(){this.q=new Nt(this);this.f=$doc.createElement(lg);this.e=$doc.createElement(og);ls(this.f,this.e);this.pb=this.f}s(285,267,Jh);_.e=null;_.f=null;function uu(a,b){var c;if(a.i)throw new nt("Composite.initWidget() may only be called once.");Yi(b);c=b.pb;a.pb=c;var d;ms();try{d=!!c&&!!c.__gwt_resolve}catch(e){d=!1}d&&((ms(),c).__gwt_resolve=vu(a));a.i=b;rt(b,a)}
function wu(a){if(-1!=a.lb){var b=a.i,c=a.lb;if(-1==b.lb){var d=b.pb,b=c|(b.pb.__eventBits||0);zi();$s(d,b)}else b.lb|=c;a.lb=-1}a.i._c();a.pb.__listener=a;a.bd()}s(286,269,th);_.$c=function(){return this.i?this.i.$c():!1};_._c=function(){wu(this)};_.Kc=function(a){ot(this,a);this.i.Kc(a)};_.ad=function(){this.i.ad()};_.Uc=function(){return this.pb=this.i.Uc()};_.i=null;
function xu(a,b,c){a.d=!1;c?a.b.innerHTML=b||j:a.b.textContent=b||j;if(a.e!=a.c)switch(a.e=a.c,b=a.b,a.c.d){case 0:b[Wd]=Yf;break;case 1:b[Wd]=Te;break;case 2:rq(b)!=(tq(),wq)&&(b[Wd]=j)}}function yu(a){this.b=a;this.d=!1;this.e=this.c=rq(a)}s(287,1,{},yu);_.b=null;_.c=null;_.d=!1;_.e=null;function Bi(){this.pb=zu()}s(288,274,Xg,Bi);_.wc=function(a){return A(this,a,(Dp(),Dp(),Ep))};_.xc=function(a){return A(this,a,(Fi(),Fi(),Gi))};_.yc=function(a){return A(this,a,(Hp(),Hp(),Ip))};
_.zc=function(a){return A(this,a,(Hi(),Hi(),Ii))};function Au(a,b,c,d){b=a.e.b.d.rows[b].cells[c];var e,c=qn(b);e=null;c&&(c=dt(c),e=0>c?null:hs(a.j.c,c));e?Bu(a,e):d&&(b.innerHTML=j||j);return b}function Bu(a,b){var c;if(b.ob!=a)return!1;try{rt(b,null)}finally{c=b.pb;rn(c).removeChild(c);var d=a.j,e;e=dt(c);c[$c]=null;c=d.c;Cu(e,c.d);Iq(c.c,e,null);d.b=new et(e,d.b)}return!0}s(290,268,ah);_.gd=function(){return new Du(this)};_.dd=function(a){return Bu(this,a)};_.d=null;_.e=null;_.f=null;_.i=null;
function Eu(a){if(0>=a.c)throw new Fu("Row index: 0, Row size: "+a.c);if(0>=a.b)throw new Fu("Column index: 0, Column size: "+a.b);}
function Gu(){this.j=new ct;this.i=$doc.createElement(lg);this.d=$doc.createElement(og);ls(this.i,this.d);this.pb=this.i;this.e=new Hu(this);var a=new Iu(this);this.f&&(a.b=this.f.b);a=this.f=a;if(!a.b){a.b=$doc.createElement("colgroup");var b=a.b;Zs(a.c.i,(ms(),ns(b)),0);ls(a.b,$doc.createElement(Dd))}var c,d;if(1!=this.b){if(1<this.b)for(a=0;a<this.c;++a)for(b=this.b-1;1<=b;--b){c=b;d=void 0;d=this.c;if(a>=d||0>a)throw new Fu("Row index: "+a+", Row size: "+d);if(0>c)throw new Fu("Column "+c+" must be non-negative: "+
c);if(this.b<=c)throw new Fu("Column index: "+c+", Column size: "+this.b);c=Au(this,a,b,!1);d=this.d.rows[a];d.removeChild(c)}else for(a=0;a<this.c;++a)for(b=this.b;1>b;++b)c=this.d.rows[a],d=$doc.createElement(pg),d.innerHTML=ua||j,Zs(c,(ms(),ns(d)),b);this.b=1;a=this.f;b=1;b=1<b?b:1;c=a.b.childNodes.length;if(c<b)for(;c<b;++c)d=$doc.createElement(Dd),a.b.appendChild(d);else if(c>b)for(;c>b;--c)a.b.removeChild(a.b.lastChild)}if(1!=this.c)if(1>this.c){a=this.d;b=1-this.c;d=this.b;var e=$doc.createElement(pg);
e.innerHTML=ua;c=$doc.createElement(Ag);for(var f=0;f<d;f++){var g=e.cloneNode(!0);c.appendChild(g)}a.appendChild(c);for(d=1;d<b;d++)a.appendChild(c.cloneNode(!0));this.c=1}else for(;1<this.c;){a=this.c-1;c=b=void 0;c=this.b;for(b=0;b<c;++b)Au(this,a,b,!1);this.d.removeChild(this.d.rows[a]);--this.c}}s(289,290,ah,Gu);_.b=0;_.c=0;
function Ju(a){var b;!a.b?b=null:a.b?b=a.b:b=a.b==(Ku(),Lu)?a.c.e==(tq(),vq)?(Mu(),Nu):a.c.e==uq?(Mu(),Ou):(Mu(),Pu):a.c.e==(tq(),vq)?(Mu(),Ou):a.c.e==uq?(Mu(),Nu):(Mu(),Qu);b!=a.d&&(a.d=b,a.pb.style.textAlign=!a.d?j:a.d.b)}s(293,269,Hh);_.b=null;_.c=null;_.d=null;function Ru(){this.pb=$doc.createElement(Zd);this.c=new yu(this.pb);this.pb[zd]="gwt-Label"}function Su(){Ru.call(this);xu(this.c,Lg,!1);Ju(this)}
s(292,293,{11:1,13:1,15:1,16:1,18:1,19:1,20:1,21:1,22:1,23:1,24:1,25:1,26:1,28:1,29:1,30:1,34:1,35:1,36:1,37:1,38:1,39:1,40:1,41:1,42:1,43:1,45:1,47:1,56:1,67:1,68:1,71:1,75:1,78:1,79:1,81:1},Ru,Su);_.wc=function(a){return A(this,a,(Dp(),Dp(),Ep))};_.xc=function(a){return A(this,a,(Fi(),Fi(),Gi))};_.yc=function(a){return A(this,a,(Hp(),Hp(),Ip))};_.zc=function(a){return A(this,a,(Hi(),Hi(),Ii))};
function Tu(a){var b=$doc.createElement(Zd);sq(gg,b.tagName);this.pb=b;this.c=new yu(this.pb);this.pb[zd]="gwt-HTML";xu(this.c,a,!0);Ju(this)}s(291,292,{11:1,13:1,15:1,16:1,18:1,19:1,20:1,21:1,22:1,23:1,24:1,25:1,26:1,28:1,29:1,30:1,34:1,35:1,36:1,37:1,38:1,39:1,40:1,41:1,42:1,43:1,45:1,47:1,51:1,56:1,66:1,67:1,68:1,71:1,75:1,78:1,79:1,81:1},Tu);function Uu(a){for(;++a.c<a.e.d&&!(null!=hs(a.e,a.c)););}function Du(a){this.d=a;this.e=this.d.j.c;Uu(this)}s(294,1,{},Du);
_.Hc=function(){return this.c<this.e.d};_.Ic=function(){var a;if(this.c>=this.e.d)throw new Gt;a=hs(this.e,this.c);this.b=this.c;Uu(this);return a};_.Jc=function(){var a;if(0>this.b)throw new Vu;a=hs(this.e,this.b);Yi(a);this.b=-1};_.b=-1;_.c=-1;_.d=null;function Hu(a){this.b=a}s(295,1,{},Hu);_.b=null;function Iu(a){this.c=a}s(296,1,{},Iu);_.b=null;_.c=null;function Ku(){Ku=u;Lu=new Wu}var Lu;function Mu(){Mu=u;Xu=new Yu((Sn(),wd));Nu=new Yu(Me);Ou=new Yu(Uf);Pu=Nu;Qu=Ou;Zu=Pu}
var Xu,Zu,Nu,Qu,Pu,Ou;function Wu(){}s(298,1,{},Wu);function Yu(a){this.b=a}s(299,298,{},Yu);_.b=null;function $u(){$u=u;av=new bv(jf);cv=new bv(vg)}var av,cv;function bv(a){this.b=a}s(300,1,{},bv);_.b=null;function dv(a,b){var c;c=ev(a);ls(a.c,c);At(a,b,c)}function ev(a){var b;b=$doc.createElement(pg);b[ed]=a.b.b;b.style[Gg]=a.d.b;return b}function fv(a,b){var c,d;d=rn(b.pb);(c=Et(a,b))&&a.c.removeChild(d);return c}
function gv(){tu.call(this);this.b=(Mu(),Zu);this.d=($u(),cv);this.c=$doc.createElement(Ag);ls(this.e,this.c);this.f[vd]=cb;this.f[ud]=cb}s(301,285,Jh,gv);_.dd=function(a){return fv(this,a)};_.c=null;function hv(){hv=u;new Sh}function iv(a,b,c,d,e){hv();this.b=new jv(this,a,b,c,d,e);this.pb[zd]="gwt-Image"}function kv(a,b,c,d,e){hv();iv.call(this,(Fr(),new Er(a)),b,c,d,e)}
s(302,269,{11:1,13:1,15:1,16:1,18:1,19:1,20:1,21:1,22:1,23:1,24:1,25:1,26:1,28:1,29:1,30:1,34:1,35:1,36:1,37:1,38:1,39:1,40:1,41:1,42:1,43:1,45:1,47:1,56:1,68:1,71:1,75:1,78:1,79:1,81:1},iv,kv);_.wc=function(a){return A(this,a,(Dp(),Dp(),Ep))};_.xc=function(a){return A(this,a,(Fi(),Fi(),Gi))};_.yc=function(a){return A(this,a,(Hp(),Hp(),Ip))};_.zc=function(a){return A(this,a,(Hi(),Hi(),Ii))};_.Kc=function(a){32768==ps(a.type)&&this.b&&(this.pb.__gwtLastUnhandledEvent=j);ot(this,a)};
_.bd=function(){var a=this.b;C(Re,pn(this.pb,"__gwtLastUnhandledEvent"))&&(a.i=new lv(a,this),dn((an(),bn),a.i))};_.b=null;s(304,1,{});_.i=null;function mv(){mv=u;nv()}
function jv(a,b,c,d,e,f){var g,h;mv();this.c=c;this.d=d;this.f=e;this.b=f;this.e=b;g=$doc.createElement(gg);h=new sr;rr(rr(rr(h,new ur("width:"+e+(Ji(),Kf)+pb)),new ur("height:"+f+Nf)),new ur("background:url("+b.b+") no-repeat "+-c+"px "+-d+Nf));!ov&&(ov=new pv);b=qv;c=new ur((new ur(h.b.b.b)).b);h=new tr;h.b.b+="<img onload='this.__gwtLastUnhandledEvent=\"load\";' src='";b=Dr(b.b);Fm(h.b,b);h.b.b+="' style='";b=Dr(c.b);Fm(h.b,b);h.b.b+="' border='0'>";h=new wr(h.b.b);g.innerHTML=h.b||j;g=qn(g);a.kb&&
(a.pb.__listener=null);if(a.pb&&(h=a.pb,b=h.parentNode))b.insertBefore(g,h),b.removeChild(h);a.pb=g;a.kb&&(a.pb.__listener=a);-1==a.lb?(g=a.pb,a=133333119|(a.pb.__eventBits||0),zi(),$s(g,a)):a.lb|=133333119}s(303,304,{},jv);_.b=0;_.c=0;_.d=0;_.e=null;_.f=0;function lv(a,b){this.b=a;this.c=b}s(305,1,{},lv);
_.hc=function(){var a,b;this.c.b!=this.b||this!=this.b.i||(this.b.i=null,this.c.kb?(a=(b=$doc.createEvent("HTMLEvents"),b.initEvent(Re,!1,!1),b),this.c.pb.dispatchEvent(a)):this.c.pb.__gwtLastUnhandledEvent=Re)};_.b=null;_.c=null;function rv(a,b){if(0>b||b>=a.pb.options.length)throw new Dt;}function Qo(a,b){rv(a,b);return a.pb.options[b].value}function sv(){this.pb=$doc.createElement("select");this.pb[zd]="gwt-ListBox"}s(306,284,Wg,sv);s(307,237,yh);function tv(a){this.b=a}s(308,307,yh,tv);_.uc=function(){};
function uv(a){this.b=a}s(309,307,yh,uv);_.Ac=function(a){this.b.td(a.i,a.b)};function vv(a,b,c){var d;if(a.p){var e=d=$doc.createElement(Ag);Zs(a.f,(ms(),ns(e)),b);a=(ms(),ns(c));d.appendChild(a)}else d=Rs(a.f,0),Zs(d,(ms(),ns(c)),b)}
function wv(a,b,c){var d;xv(a,b);c&&b.b?(xv(a,null),a=b.b,b=(an(),bn),b.d=en(b.d,[new yv(a),!1])):null!=b.d&&(a.k=new zv(a,b),c=($t(),hu),a.k.U=c,a.k.ab=a.i,a.k.Sc()[zd]=ve,d=gt(a.pb),C(ue,d)||oi(a.k,d+"Popup"),lt(a.k,new uv(a),Jj?Jj:Jj=new Kj),a.o=b.d,d=a.k,a=new Av(a,b),d.pb.style[Hg]=Ee,Xt(d),a.b.p?Wt(a.b.k,Zi(a.b.pb)+on(a.b.pb,Bf)-1,aj(a.c.pb)):Wt(a.b.k,Zi(a.c.pb),aj(a.b.pb)+on(a.b.pb,Af)-1),d.pb.style[Hg]=Ig)}function Bv(a,b){if(b||!(a.n&&a.o==a.n.d))xv(a,b),a.pb.focus(),b&&a.e&&wv(a,b,!1)}
function Cv(a,b){var c;a:{c=b.target;var d,e;for(e=new Uh(a.j);e.c<e.e.ie();)if(d=Vh(e),d.pb.contains(c)){c=d;break a}c=null}switch(ps(b.type)){case 1:a.pb.focus();c&&wv(a,c,!0);break;case 16:c&&Bv(a,c);break;case 32:c&&Bv(a,null);break;case 2048:Dv(a);break;case 128:switch(c=b.keyCode||0,c){case 37:Dv(a)||a.p||Ev(a);b.cancelBubble=!0;b.preventDefault();break;case 39:Dv(a)||(a.p?null!=a.n.d&&!a.n.d.kf().kf()&&(wv(a,a.n,!1),a.n.d.kf()):Fv(a));b.cancelBubble=!0;b.preventDefault();break;case 38:Dv(a)||
a.p&&Ev(a);b.cancelBubble=!0;b.preventDefault();break;case 40:Dv(a)||(a.p?Fv(a):null!=a.n.d&&!a.n.d.kf().kf()&&(wv(a,a.n,!1),a.n.d.kf()));b.cancelBubble=!0;b.preventDefault();break;case 27:xv(a,null);a.k&&Tt(a.k,!1);b.cancelBubble=!0;b.preventDefault();break;case 9:xv(a,null);a.k&&Tt(a.k,!1);break;case 13:Dv(a)||(wv(a,a.n,!0),b.cancelBubble=!0,b.preventDefault())}}ot(a,b)}function Gv(a,b,c){c&&xv(a,null);Mp(a,b,!1);a.o=null;a.k=null}
function Dv(a){var b;if(!a.n){for(b=new Uh(a.j);b.c<b.e.ie();){b=Vh(b);xv(a,b);break}return!0}return!1}function xv(a,b){var c;if(b!=a.n){if(a.n){c=a.n;var d=gt(c.pb)+Xa;Wh(c.Sc(),d,!1);a.p&&(c=rn(a.n.pb),2==Ss(c)&&(c=Rs(c,1),Wh(c,jg,!1)))}if(b){c=gt(b.pb)+Xa;Wh(b.Sc(),c,!0);a.p&&(c=rn(b.pb),2==Ss(c)&&(c=Rs(c,1),Wh(c,jg,!0)));Lk();c=a.pb;var e=new mk(b.pb),d=(Gk(),Hk),e=D(Hv,k,5,[e]),f,g,h,i;f=new Dm;for(h=0,i=e.length;h<i;++h)g=e[h],Em(Em(f,g.b),ca);e=ln(f.b.b);c.setAttribute(d.b,e)}a.n=b}}
function Fv(a){var b,c,d;if(a.n){for(b=c=Oi(a.j,a.n);;){c+=1;c==a.j.d&&(c=0);d=c==b?hs(a.j,b):hs(a.j,c);break}xv(a,d)}}function Ev(a){var b,c,d;if(a.n){for(b=c=Oi(a.j,a.n);;){c-=1;0>c&&(c=a.j.d-1);d=c==b?hs(a.j,b):hs(a.j,c);break}xv(a,d)}}s(310,269,Hh);_.Kc=function(a){Cv(this,a)};_.ad=function(){this.k&&Tt(this.k,!1);pt(this)};_.td=function(a,b){Gv(this,a,b)};_.e=!1;_.f=null;_.i=!1;_.k=null;_.n=null;_.o=null;_.p=!1;function yv(a){this.b=a}s(311,1,{},yv);_.hc=function(){Iv(this.b)};_.b=null;
function Jv(a){this.b=a}s(312,1,{},Jv);_.uc=function(){xv(this.b,null)};_.b=null;function zv(a,b){this.b=a;this.c=b;Yt.call(this,!0,Ze);Qt(this.T,this.c.d);Vt(this);this.fb=!0;this.c.d.kf()}s(313,272,Jh,zv);_.Gc=function(a){var b,c;if(!a.b)switch(ps(a.e.type)){case 4:c=a.e.target;b=this.c.c.pb;if(b.contains(c)){a.b=!0;break}a.b&&xv(this.b,null)}};_.b=null;_.c=null;function Av(a,b){this.b=a;this.c=b}s(314,1,{},Av);_.b=null;var Kv=_.c=null;
function Lv(){Lv=u;Kv=new qr((Fr(),new Er("")),5,9)}function Mv(a,b){this.pb=$doc.createElement(pg);var c=gt(this.pb)+Xa;Wh(this.Sc(),c,!1);this.pb.textContent=a||j;this.pb[zd]="gwt-MenuItem";var c=this.pb,d;d=$doc;!d.gwt_uid&&(d.gwt_uid=1);d="gwt-uid-"+d.gwt_uid++;c.setAttribute("id",d);Lk();this.pb.setAttribute("role",sl.b);this.b=b}s(317,270,{51:1,64:1,66:1,67:1,68:1,72:1,79:1},Mv);_.b=null;_.c=null;
_.d=null;function Nv(){var a;this.pb=$doc.createElement(pg);this.pb[zd]="gwt-MenuItemSeparator";a=$doc.createElement(Zd);ls(this.pb,a);a[zd]="menuSeparatorInner"}s(318,270,Ih,Nv);function Ov(){var a,b,c,d,e;b=null.kf();e=Di();d=Ei();b[Yd]=(Hn(),uf);b[Kg]=0+(Ji(),Kf);b[De]=db;c=$doc;c=(C(c.compatMode,Kb)?c.documentElement:c.body).scrollWidth||0;a=$doc;a=(C(a.compatMode,Kb)?a.documentElement:a.body).scrollHeight||0;b[Kg]=(c>e?c:e)+Kf;b[De]=(a>d?a:d)+Kf;b[Yd]="block"}function Zt(){}s(319,1,{},Zt);
_.Cc=function(){Ov()};function Pv(a){this.b=a}s(320,1,{},Pv);
_.Gc=function(a){var b=this.b,c,d;if(a.b||!b.fb&&a.c)b.db&&(a.b=!0);else if(b.Gc(a),!a.b){d=a.e;c=d.target;var e;try{e=!!c&&!!c.nodeType}catch(f){e=!1}(c=e&&c&&1==c.nodeType?b.pb.contains(c):!1)&&(a.c=!0);b.db&&(a.b=!0);switch(ps(d.type)){case 4:case 1048576:if(yi){a.c=!0;break}if(!c&&b.V){b.pd(!0);break}break;case 8:case 64:case 1:case 2:case 4194304:if(yi){a.c=!0;break}break;case 2048:d=d.target,b.db&&!c&&d&&(d.blur&&d!=$doc.body&&d.blur(),a.b=!0)}}};_.b=null;function Qv(a){this.b=a}
s(321,1,{},Qv);_.b=null;function $t(){$t=u;au=new Rv(Jb,0);hu=new Rv(rc,1);ju=new Rv(Ac,2);Sv=D(Tv,k,73,[au,hu,ju])}function Rv(a,b){un.call(this,a,b)}s(322,137,{73:1,106:1,109:1,111:1},Rv);var Sv,au,hu,ju;function Uv(a){a.k?a.b.bb&&($doc.body.appendChild(a.b.Z),a.i=Es(a.b.$),Ov(),a.c=!0):a.c&&($doc.body.removeChild(a.b.Z),ei(a.i.b),a.i=null,a.c=!1)}function Vv(a){a.k||(Uv(a),a.d||(wi(),Jt(xi(null),a.b)));a.b.pb.style[Cd]="rect(auto, auto, auto, auto)";a.b.pb.style[Ef]=Ig}
function Wv(a,b){var c,d,e,f,g,h;a.k||(b=1-b);c=f=e=g=0;d=G(b*a.e);h=G(b*a.f);switch(a.b.U.d){case 2:f=a.f;c=d;break;case 0:g=a.e-d>>1;e=a.f-h>>1;f=e+h;c=g+d;break;case 1:f=h,c=d}a.b.pb.style[Cd]="rect("+g+Lf+f+Lf+c+Lf+e+"px)"}
function Ut(a,b,c){a.d=c;rj(a);a.j&&(sj(a.j),a.j=null,Vv(a));a.b.hb=b;var d=a.b;d.eb&&(ei(d.eb.b),d.eb=null);d._&&(ei(d._.b),d._=null);if(d.hb){d.eb=ss(new Pv(d));var e;e=new Qv(d);ys();e=zs?Wp(zs.b,(!Vp&&(Vp=new Kj),Vp),e):null;d._=e}c=!c&&a.b.ab;a.b.U!=($t(),au)&&!b&&(c=!1);a.k=b;c?b?(Uv(a),a.b.pb.style[Gf]=bd,-1!=a.b.ib&&a.b.qd(a.b.cb,a.b.ib),a.b.pb.style[Cd]=Rf,wi(),b=xi(null),At(b,a.b,b.pb),a.j=new Xv(a),yj(a.j,1)):tj(a,200):(Uv(a),a.k?(a.b.pb.style[Gf]=bd,-1!=a.b.ib&&a.b.qd(a.b.cb,a.b.ib),wi(),
b=xi(null),At(b,a.b,b.pb)):a.d||(wi(),Jt(xi(null),a.b)),a.b.pb.style[Ef]=Ig)}function bu(a){var b=(Aj(),Bj);this.n=new zj(this);this.t=b;this.b=a}s(323,17,{},bu);_.jc=function(){Vv(this)};_.kc=function(){this.e=on(this.b.pb,Af);this.f=on(this.b.pb,Bf);this.b.pb.style[Ef]=Ee;Wv(this,(1+Math.cos(3.141592653589793))/2)};_.lc=function(a){Wv(this,a)};_.b=null;_.c=!1;_.d=!1;_.e=0;_.f=-1;_.i=null;_.j=null;_.k=!1;function Xv(a){Ej();this.b=a}s(324,24,{},Xv);_.nc=function(){this.b.j=null;tj(this.b,200)};
_.b=null;function ms(){ms=u;Yv()}function ns(a){return a.__gwt_resolve?a.__gwt_resolve():a}function vu(a){return function(){this.__gwt_resolve=Zv;return a.Uc()}}function Zv(){throw"A PotentialElement cannot be resolved twice.";}
function Yv(){function a(){}a.prototype={className:j,clientHeight:0,clientWidth:0,dir:j,getAttribute:function(a){return this[a]},href:j,id:j,lang:j,nodeType:1,removeAttribute:function(a){this[a]=void 0},setAttribute:function(a,c){this[a]=c},src:j,style:{},title:j};$wnd.GwtPotentialElementShim=a}function wi(){wi=u;$v=new aw;bw=new Sh;qt=new eq}function cw(a){this.q=new Nt(this);this.pb=a;mt(this)}
function xi(a){wi();var b,c;c=si(bw,a);b=null;if(null!=a&&!(b=$doc.getElementById(a)))return null;if(c&&(!b||c.pb==b))return c;if(0==bw.e){var d=new dw;Hj();Ij(Jj?Jj:Jj=new Kj,d)}!b?c=new ew:c=new cw(b);x(bw,a,c);fq(qt,c);return c}s(326,266,Jh,cw);var $v,bw,qt;function aw(){}s(327,1,{},aw);_.sd=function(a){a.$c()&&a.ad()};function dw(){}s(328,1,{},dw);_.Ac=function(){wi();try{wt(qt,$v)}finally{fw(qt.b),fw(bw)}};function ew(){cw.call(this,$doc.body)}s(329,326,Jh,ew);
_.kd=function(a,b,c){Lt(a,b-0,c-0)};function St(a){this.d=a;this.b=!!this.d.jb}s(330,1,{},St);_.Hc=function(){return this.b};_.Ic=function(){if(!this.b||!this.d.jb)throw new Gt;this.b=!1;return this.c=this.d.jb};_.Jc=function(){this.c&&this.d.dd(this.c)};_.c=null;_.d=null;function gw(a,b){a.pb[Fg]=null!=b?b:j}s(333,284,vh);_.Kc=function(a){0!=(ps(a.type)&896)?ot(this,a):ot(this,a)};_.bd=function(){};function hw(){hw=u;iw()}s(332,333,vh);
function jw(){hw();var a=$doc.createElement("textarea");!Jr&&(Jr=new Ir);!Hr&&(Hr=new Gr);this.pb=a;this.pb[zd]="gwt-TextArea"}s(331,332,vh,jw);function kw(){var a;hw();var b=(a=$doc.createElement("INPUT"),a.type=qg,a);!Jr&&(Jr=new Ir);!Hr&&(Hr=new Gr);this.pb=b;this.pb[zd]="gwt-TextBox"}s(334,332,vh,kw);function iw(){iw=u;lw=new mw;nw=new ow;pw=new qw;rw=new sw;tw=D(uw,k,80,[lw,nw,pw,rw])}s(335,137,Ug);var tw,lw,nw,pw,rw;function mw(){un.call(this,Jb,0)}s(336,335,Ug,mw);
function ow(){un.call(this,bc,1)}s(337,335,Ug,ow);function qw(){un.call(this,dc,2)}s(338,335,Ug,qw);function sw(){un.call(this,xc,3)}s(339,335,Ug,sw);function vw(a,b){var c,d;c=$doc.createElement(Ag);d=$doc.createElement(pg);d[ed]=a.b.b;d.style[Gg]=a.c.b;var e=(ms(),ns(d));c.appendChild(e);ls(a.e,c);At(a,b,d)}function ww(){tu.call(this);this.b=(Mu(),Zu);this.c=($u(),cv);this.f[vd]=cb;this.f[ud]=cb}s(340,285,Jh,ww);_.dd=function(a){var b;b=rn(a.pb);(a=Et(this,a))&&this.e.removeChild(rn(b));return a};
function xw(a,b){if(0>b||b>=a.d)throw new Dt;return a.b[b]}function Ft(a,b){var c;for(c=0;c<a.d;++c)if(a.b[c]==b)return c;return-1}function Bt(a,b,c){var d,e;if(0>c||c>a.d)throw new Dt;if(a.d==a.b.length){e=v(yw,k,81,2*a.b.length,0);for(d=0;d<a.b.length;++d)Iq(e,d,a.b[d]);a.b=e}++a.d;for(d=a.d-1;d>c;--d)Iq(a.b,d,a.b[d-1]);Iq(a.b,c,b)}function Nt(a){this.c=a;this.b=v(yw,k,81,4,0)}s(341,1,{},Nt);_.gd=function(){return new Ht(this)};_.b=null;_.c=null;_.d=0;
function ut(a){if(a.b>=a.c.d)throw new Gt;return a.c.b[++a.b]}function vt(a){if(0>a.b||a.b>=a.c.d)throw new Vu;a.c.c.dd(a.c.b[a.b--])}function Ht(a){this.c=a}s(342,1,{},Ht);_.Hc=function(){return this.b<this.c.d-1};_.Ic=function(){return ut(this)};_.Jc=function(){vt(this)};_.b=-1;_.c=null;function nv(){nv=u;qv=(Fr(),new Er(Wm()+"clear.cache.gif"))}var qv,ov=null;function pv(){}s(344,1,{},pv);function zw(){zw=u;nv()}function Aw(a,b,c,d,e){zw();this.e=a;this.c=b;this.d=c;this.f=d;this.b=e}
function Bw(a,b,c){zw();Aw.call(this,(Fr(),new Er(a)),b,0,c,16)}s(345,278,{},Aw,Bw);_.b=0;_.c=0;_.d=0;_.e=null;_.f=0;function zu(){var a;a=$doc.createElement(Zd);a.tabIndex=0;return a}function ei(a){var b=a.b,c=a.e,d=a.d,a=a.c;0<b.c?Yp(b,new Lr(b,c,d,a)):lq(b,c,d,a)}function bq(a,b,c){this.b=a;this.e=b;this.d=null;this.c=c}s(351,1,{},bq);_.b=null;_.c=null;_.d=null;_.e=null;function Zp(a,b,c){this.b=a;this.e=b;this.d=null;this.c=c}s(352,1,{},Zp);_.hc=function(){$p(this.b,this.e,this.d,this.c)};
_.b=null;_.c=null;_.d=null;_.e=null;function Lr(a,b,c,d){this.b=a;this.e=b;this.d=c;this.c=d}s(353,1,{},Lr);_.hc=function(){lq(this.b,this.e,this.d,this.c)};_.b=null;_.c=null;_.d=null;_.e=null;function Cw(a,b){b.n!=a&&(!a.Ub&&(a.Ub=new pi),b.n=a,ii(a.Ub,b))}function Dw(a){var b;b=a.cZ.e;if(-1!=ht(b,it(36)))return null;a=a.Vb.c.c++;return b=mn(b,Ew(b,it(46))+1)+j+a}function Fw(a,b,c,d){0==--a.Pb&&(a.$b!=a.Jd()&&(d|=4),!a.Zb&&(d|=2),0<d&&new Gw(a,b,c,kr(d)))}
function Hw(a){return!a.Lb&&a.Sb?Hw(a.Sb):a.Lb}function Iw(a){return!a.Nb&&a.Sb?Iw(a.Sb):a.Nb}function Jw(a){var b;b=new Kw;if(a.Jd()){for(;a&&!y(a,96);a=a.Sb)Lw(b,a.Fd(),a.Gd());y(a,96)&&Lw(b,a.Fd(),a.Gd());return b}throw new Mw;}function Nw(a){a.Wb=!1;a.Qd();Ow(a)}function Ow(a){if((a=y(a,96)?null:a.Sb)&&a.Wb)Nw(a),a.Hb&&y(a.Hb,91)&&(a.Hb.o=!1)}function Pw(a){return(a=a.yd())?a:new Qw(1,1)}function Rw(a){var b;return(b=a.zd())?new Sw(b):new Sw(a.Bd())}
function Tw(a){0==a.Pb++&&(a.$b=a.Jd(),a.Zb=!0,a.Od())}function Uw(a){return!a.Nb?(a.Id(),!0):!1}function K(a,b){var c;c=a.Lb;a.Lb=b;b==c||b&&y(c,86)&&c.b==b.b||a.Tb.We(b)}function Vw(a,b,c,d,e){var f,g,h,i;h=a._b;i=a.ac;g=a.Yb;f=a.Ob;a._b=b;a.ac=c;a.Yb=d;a.Ob=e;if(h!=a._b||i!=a.ac)Ow(a),new Ww(a,100);if(g!=a.Yb||f!=a.Ob)a.Id(),new Ww(a,101)}function Xw(a){a.Xb||(Tw(a),Yw(a,!0),Zw(a),a.Xb=!0,new Ww(a,102),Fw(a,a,a.Sb,0),Ow(a),a.Tb.Ze(a))}
function $w(){this.Vb=(Oo(),Oo(),ax);new Sh;this.Hd();this.Rb=(bx(),cx)}s(357,1,Vg);_.vd=function(){return!1};_.wd=function(){return Dw(this)};_.xd=function(){return Hw(this)};_.yd=function(){return dx(this.Tb,this)};_.zd=function(){return this.yd()};_.Ad=function(){return this.Ob};_.Bd=function(){return this.Ld()};_.Cd=function(){return new ex(0,0,0,0)};_.Dd=function(){return this.Nd()};_.Ed=function(){return this.Yb};_.Fd=function(){return this._b};_.Gd=function(){return this.ac};_.Hd=function(){};
_.Id=function(){Nw(this)};_.Jd=function(){return this.Xb&&!!this.Sb&&this.Sb.Jd()};_.Kd=function(){};_.Ld=function(){return Pw(this)};_.Md=function(){return(null==this.Qb&&(this.Qb=this.wd()),this.Qb)+Ba+this.Fd()+Ba+this.Gd()+Ba+this.Ed()+Lg+this.Ad()+(this.Xb?j:",hidden")};_.Nd=function(){return Rw(this)};_.Od=function(){};_.Pd=function(){return Uw(this)};_.Qd=function(){var a=this.Tb;a.f.b=-1;a.f.c=-1};_.Rd=function(a,b){this.Sd(this._b,this.ac,a,b)};
_.Sd=function(a,b,c,d){this.Td(a,b,c,d,this.Mb,!0);this.Mb=0};_.Td=function(a,b,c,d){Vw(this,a,b,c,d)};_.tS=function(){return this.cZ.e+Xc+this.Md()+Zc};_.Ud=function(){this.Wb=!0};_.Lb=null;_.Mb=0;_.Nb=null;_.Ob=0;_.Pb=0;_.Qb=null;_.Rb=null;_.Sb=null;_.Tb=null;_.Ub=null;_.Wb=!1;_.Xb=!0;_.Yb=0;_.Zb=!1;_.$b=!1;_._b=0;_.ac=0;
function L(a,b,c){var d;if(-1>a.Gb.b.d)throw new Lj("Missing message: awt.12A");if(y(b,88)){if(b==a)throw new Lj("Missing message: awt.12B");a:{if(a&&!y(a,96))for(d=a.Sb;d;){if(d==b){d=!0;break a}if(y(d,96))break;d=d.Sb}d=!1}if(d)throw new Lj("Missing message: awt.12C");if(y(b,96))throw new Lj("Missing message: awt.12D");}if(b.Sb){d=b.Sb;if(!b)throw new Im;var e=Oi(d.Gb.b,b),f;f=hs(d.Gb.b,e);d.Hb&&d.Hb.$d(f);fx(d,e);new gx(d,301,f)}d=a.Gb.b.d;Tw(b);hx(a.Gb.b,d,b);d=(b.Sb=a,b.Kd(!0),Nw(a),!!a.Hb&&
y(a.Hb,91)&&(a.Hb.o=!1),Fw(b,b,a,1),d);try{if(a.Hb)if(y(a.Hb,91)){var g=a.Hb;if(!b)throw new Xp("Missing message: awt.185");if(null==c||null!=c)ix(g,c,b);else throw new Lj("Missing message: awt.92");}else a.Hb.Wd(null==c?null:c,b)}catch(h){h=$h(h);if(y(h,113))throw b=h,fx(a,d),b;throw h;}b.Qd();new gx(a,300,b)}function jx(a,b){var c;c=a.Vd();b.c+=c.c+c.d;b.b+=c.e+c.b;return b}function kx(a){var b;b=a.Vd();return new lx(b.c,b.e,a.Yb-b.d-b.c,a.Ob-b.e-b.b)}
function Yw(a,b){var c;for(c=a.Gb.b.d-1;0<=c;--c)hs(a.Gb.b,c).Kd(b)}function fx(a,b){var c;c=hs(a.Gb.b,b);Tw(c);c.Kd(!1);ks(a.Gb.b,b);c.Sb=null;Nw(a);a.Hb&&y(a.Hb,91)&&(a.Hb.o=!1);Fw(c,c,a,1)}function mx(a){var b;b=(nx(),ox);b==a.Nb||b&&b==a.Nb||(a.Nb=b,Nw(a),a.Hb&&y(a.Hb,91)&&(a.Hb.o=!1),a.Tb.Xe(b));for(b=0;b<a.Gb.b.d;++b)hs(a.Gb.b,b).Pd()}
function px(a,b){var c,d;if(a.Hb)for(d=new Uh(a.Gb.b);d.c<d.e.ie();)c=Vh(d),a.Hb.$d(c);if(b)for(d=new Uh(a.Gb.b);d.c<d.e.ie();)c=Vh(d),b.Wd(null,c);a.Hb=b;Nw(a);a.Hb&&y(a.Hb,91)&&(a.Hb.o=!1)}function Zw(a){if(!a.Wb){a.Hb&&a.Hb.Xd(a);var b,c;for(c=0;c<a.Gb.b.d;++c)b=hs(a.Gb.b,c),b.Wb||b.Ud();a.Wb=!0}}function qx(){$w.call(this);this.Gb=new rx;this.Kb=(Oo(),Oo(),ax)}s(356,357,eh);_.yd=function(){if(!this.Hb)return null;!this.Ib&&(this.Ib=this.Hb.Yd(this));return this.Ib};
_.zd=function(){if(!this.Hb)return null;!this.Jb&&(this.Jb=this.Hb.Zd(this));return this.Jb};_.Vd=function(){return this.Cd()};_.Bd=function(){return Pw(this)};_.Dd=function(){return Rw(this)};_.Hd=function(){this.Tb=(Oo(),new sx)};_.Id=function(){Nw(this);this.Hb&&y(this.Hb,91)&&(this.Hb.o=!1)};_.Kd=function(a){Yw(this,a)};_.Ld=function(){return Pw(this)};_.Nd=function(){return Rw(this)};_.Od=function(){var a;for(a=0;a<this.Gb.b.d;++a)Tw(hs(this.Gb.b,a))};
_.Pd=function(){var a;if(!Uw(this))return!1;for(a=0;a<this.Gb.b.d;++a)hs(this.Gb.b,a).Pd();return!0};_.Qd=function(){var a,b;this.Jb=this.Ib=null;for(b=0;b<this.Gb.b.d;++b)a=hs(this.Gb.b,b),a.Qd()};_.Ud=function(){Zw(this)};_.Hb=null;_.Ib=null;_.Jb=null;function tx(){var a=new ux;qx.call(this);px(this,a)}s(355,356,eh,tx);_.wd=function(){return"panel"+this.Kb.c.e++};function vx(a,b,c){a=wx(a.Fb,b,c);a.i=!0;return new xx(a)}function yx(a){return new Qw(on(a.Fb.pb,Bf),on(a.Fb.pb,Af))}s(354,355,eh);
_.Ad=function(){return on(this.Fb.pb,Af)};_.Ed=function(){return on(this.Fb.pb,Bf)};_.Fd=function(){return Zi(this.Fb.pb)};_.Gd=function(){return aj(this.Fb.pb)};_.Jd=function(){return this.Fb.pb.style.display!=uf};_.Rd=function(){};_.Fb=null;function zx(a){if(null!=a)this.f=a;else throw new Ax;}s(359,1,Eh);_.tS=function(){return this.cZ.e+"[source="+this.f+Zc};_.f=null;
function Bx(){Bx=u;P=new Sh;x(P,new Q(400),new T);x(P,new Q(401),new T);x(P,new Q(402),new T);x(P,new Q(500),new T);x(P,new Q(501),new T);x(P,new Q(502),new T);x(P,new Q(503),new T);x(P,new Q(504),new T);x(P,new Q(505),new T);x(P,new Q(506),new T);x(P,new Q(507),new T);x(P,new Q(100),new T);x(P,new Q(101),new T);x(P,new Q(102),new T);x(P,new Q(103),new T);x(P,new Q(1004),new T);x(P,new Q(1005),new T);x(P,new Q(800),new T);x(P,new Q(801),new T);x(P,new Q(200),new T);x(P,new Q(201),new T);x(P,new Q(202),
new T);x(P,new Q(204),new T);x(P,new Q(203),new T);x(P,new Q(209),new T);x(P,new Q(208),new T);x(P,new Q(207),new T);x(P,new Q(206),new T);x(P,new Q(205),new T);x(P,new Q(1400),new T);x(P,new Q(1401),new T);x(P,new Q(1402),new T);x(P,new Q(300),new T);x(P,new Q(301),new T);x(P,new Q(1100),new T);x(P,new Q(1101),new T);x(P,new Q(1200),new T);x(P,new Q(701),new T);x(P,new Q(900),new T);x(P,new Q(1001),new T);x(P,new Q(601),new T)}s(358,359,Eh);_.Md=function(){return j};
_.tS=function(){var a;a=j;y(this.f,87)&&null!=this.f&&(a=this.f,a=(null==a.Qb&&(a.Qb=a.wd()),a.Qb),null==a&&(a=j));return this.cZ.e+Xc+this.Md()+"] on "+(0<a.length?a:this.f)};_.e=0;var P;function T(){}s(360,1,{},T);function Cx(a,b){var c;b&&(a.b?(c=new Dx(a.b),Iq(c.c,c.d++,b),a.b=c):(a.b=new pi,ii(a.b,b)))}s(362,1,Eh);_.b=null;function Ex(){}function Fx(){}s(361,362,Eh,Ex,Fx);
function Gx(){Gx=u;Hx=new eq;Ix=new Qw(0,0);fq(Hx,Fb);fq(Hx,Tb);fq(Hx,yb);fq(Hx,"Last");fq(Hx,Lb);fq(Hx,oc);fq(Hx,Lc);fq(Hx,Vc);fq(Hx,Rb)}function ix(a,b,c){var d;if(null==b)d=Lb;else if(d=b,!Us(Hx.b,b))throw new Lj(Jx());Kq(si(a.d,d))===Kq(c)&&Kq(si(a.c,c))===Kq(d)||((b=si(a.d,d))&&Kx(a,b,d),Lx(a.b.gd(),c)&&Kx(a,c,d),b=a.b,new Mx(c,b.b.b),++b.c,x(a.c,c,d),x(a.d,d,c))}function Nx(a,b){return new Qw(Ui(b[1].c,Ui(b[2].c,b[4].c+b[0].c+b[3].c+a.f)),b[1].b+b[2].b+Ui(b[0].b,Ui(b[4].b,b[3].b))+a.n)}
function Kx(a,b,c){Ox(a.b,b);ci(a.c,b);ci(a.d,c)}function Px(a,b){if(!a.o){a.o=!0;var c,d,e;Qx(a.i,Ix);Qx(a.j,Ix);Qx(a.p,null);a.q=0;for(d=Rx(a.b,0);d.c!=d.e.b;){c=Sx(d);e=si(a.c,c);var f=b.Rb;e=Rm(e,Lb)?0:Rm(e,oc)?1:Rm(e,Lc)?2:Rm(e,Vc)?4:Rm(e,Rb)?3:Rm(e,Fb)?f.b?4:3:Rm(e,yb)?f.b?3:4:Rm(e,Tb)?1:2;c.Xb?a.p[e]||(Iq(a.p,e,c),++a.q,a.i[e]=c.Bd(),a.j[e]=c.Dd()):a.p[e]||(a.i[e]=c.Bd(),a.j[e]=c.Dd())}0!=a.q&&(c=-1,a.p[1]&&++c,a.p[2]&&++c,a.p[0]||a.p[4]||a.p[3]?(a.f=(a.q-c-2)*a.e,++c):a.f=0,a.n=c*a.k)}}
function Tx(){Gx();Ux.call(this,0)}function Ux(a){Gx();Oo();this.b=new Vx;this.c=new Sh;this.d=new Sh;this.e=a;this.k=0;this.o=!1;this.p=v(Wx,k,87,5,0);this.i=v(Xx,k,89,5,0);this.j=v(Xx,k,89,5,0);this.q=this.f=this.n=0}s(363,1,{91:1,106:1},Tx,Ux);_.Wd=function(a,b){ix(this,a,b)};
_.Xd=function(a){Px(this,a);if(0!=this.q)if(a=kx(a),0>=a.c||0>=a.b){var b,c;for(c=0;5>c;++c)(b=this.p[c])&&b.Sd(a.d,a.e,0,0)}else{var d,e;b=a.d;e=a.e;this.p[1]&&(this.p[1].Rd(a.c,this.j[1].b),this.p[1].Td(a.d,a.e,a.c,this.j[1].b,2,!0),e+=this.j[1].b+this.k);c=a.b-this.j[1].b-this.j[2].b-this.n;c=0<c?c:0;this.p[4]&&(this.p[4].Rd(this.j[4].c,c),this.p[4].Td(a.d,e,this.j[4].c,c,2,!0),b+=this.j[4].c+this.e);d=a.c-this.j[4].c-this.j[3].c-this.f;this.p[0]&&this.p[0].Sd(b,e,0<d?d:0,c);this.p[2]&&(this.p[2].Rd(a.c,
this.j[2].b),this.p[2].Td(a.d,a.e+a.b-this.j[2].b,a.c,this.j[2].b,2,!0));this.p[3]&&(this.p[3].Rd(this.j[3].c,c),this.p[3].Td(a.d+a.c-this.j[3].c,e,this.j[3].c,c,2,!0))}};_.Yd=function(a){var b;b=this.o;Px(this,a);this.o=b;return 0==this.q?jx(a,new Qw(0,0)):jx(a,Nx(this,this.i))};_.Zd=function(a){var b;b=this.o;Px(this,a);this.o=b;return jx(a,Nx(this,this.j))};_.$d=function(a){var b;b=si(this.c,a);null!=b&&Kx(this,a,b)};_.tS=function(){return Yx.e+"[hgap="+this.e+",vgap="+this.k+Zc};_.b=null;
_.c=null;_.d=null;_.e=0;_.f=0;_.i=null;_.j=null;_.k=0;_.n=0;_.o=!1;_.p=null;_.q=0;var Ix,Hx;function Zx(a){$w.call(this);this.Tb=(Oo(),new $x(a,this))}s(364,357,{84:1,87:1,92:1,103:1,106:1},Zx);_.wd=function(){return td+this.Vb.c.b++};_.yd=function(){return!Iw(this)?new Qw(0,0):dx(this.Tb,this)};_.Qd=function(){};s(366,1,{});s(365,366,{},function(){});function ay(){ay=u}
function by(a,b){if(null==b)throw new Xp("Missing message: awt.103");var c=-1,d,e,f;f=a.Tb.b.pb;e=$doc.createElement(Df);e.text=b;e.removeAttribute("bidiwrapped");e.value=b;d=f.options.length;(0>c||c>d)&&(c=d);c==d?f.add(e,null):(c=f.options[c],f.add(e,c))}function cy(){ay();$w.call(this);new pi;this.Tb=new dy((Oo(),this))}s(367,357,{85:1,87:1,92:1,103:1,106:1},cy);_.yd=function(){return dx(this.Tb,this)};
_.Md=function(){return(null==this.Qb&&(this.Qb=Dw(this)),this.Qb)+Ba+this._b+Ba+this.ac+Ba+this.Yb+Lg+this.Ob+(this.Xb?j:",hidden")+",current="+Qo(this.Tb.b,this.Tb.b.pb.selectedIndex)};function ey(){ey=u;fy=new gy(255,255,255);hy=new gy(192,192,192);iy=new gy(128,128,128);jy=new gy(64,64,64);ky=new gy(0,0,0);ly=new gy(255,0,0);new gy(255,175,175);my=new gy(255,200,0);ny=new gy(255,255,0);new gy(0,255,0);oy=new gy(255,0,255);py=new gy(0,255,255);qy=new gy(0,0,255)}
function ry(a){var b,c;c=a.b>>16&255;b=a.b&255;a=a.b>>8&255;if(0==c&&0==b&&0==a)return new gy(3,3,3);3>c&&0!=c?c=3:(c=G(c/0.7),c=255<c?255:c);3>b&&0!=b?b=3:(b=G(b/0.7),b=255<b?255:b);3>a&&0!=a?a=3:(a=G(a/0.7),a=255<a?255:a);return new gy(c,a,b)}function sy(a){return new gy(G(0.7*(a.b>>16&255)),G(0.7*(a.b>>8&255)),G(0.7*(a.b&255)))}function gy(a,b,c){ey();if((a&255)!=a||(b&255)!=b||(c&255)!=c)throw new Lj("Color parameter outside of expected range");this.b=c|b<<8|a<<16|-16777216}s(368,1,{86:1},gy);
_.eQ=function(a){return y(a,86)?a.b==this.b:!1};_.hC=function(){return this.b};_.tS=function(){return ty.e+"[r="+(this.b>>16&255)+",g="+(this.b>>8&255)+",b="+(this.b&255)+Zc};_.b=0;var ky,qy,py,jy,iy,hy,oy,my,ly,fy,ny;function bx(){bx=u;cx=new uy(!0);vy=new eq;fq(vy,"ar");fq(vy,"fa");fq(vy,"iw");fq(vy,"ur")}function uy(a){this.b=a}s(369,1,Eh,uy);_.b=!1;var cx,vy;s(371,1,{99:1,108:1});function wy(){Qw.call(this,0,0)}function Qw(a,b){this.c=a;this.b=b}function Sw(a){Qw.call(this,a.c,a.b)}
s(370,371,{89:1,99:1,106:1,108:1},wy,Qw,Sw);_.eQ=function(a){return a===this?!0:y(a,89)?a.c==this.c&&a.b==this.b:!1};_.hC=function(){var a;a=new xy;a.b=31*a.b+this.c;a.b=31*a.b+this.b;return a.b};_.tS=function(){return yy.e+"[width="+this.c+",height="+this.b+Zc};_.b=0;_.c=0;function sp(a,b,c){this.i=a;this.d=b;this.f=this.e=this.k=this.j=0;this.c=c}s(372,1,Eh,sp);_._d=function(){return 0!=(this.f&4)};_.ae=function(){return 0!=(this.f&1)};
_.tS=function(){var a;return this.cZ.e+"[id="+this.d+",x="+this.j+",y="+this.k+(0!=this.e?",key="+this.e+(a=j,this.ae()&&(a+=",shift"),0!=(this.f&2)&&(a+=",control"),this._d()&&(a+=",meta"),a):j)+",target="+this.i+(null!=this.c?",arg="+this.c:j)+Zc};_.c=null;_.d=0;_.e=0;_.f=0;_.i=null;_.j=0;_.k=0;function zy(a){var b,c;for(c=b=0;c<a.c.length;)a.c[c].Xb&&++b,++c;return b}
function Ay(a,b,c,d,e,f,g){var h,i,l,d=d+a.d;switch(a.b){case 0:break;case 2:d+=c;break;case 1:d+=~~(c/2);break;case 4:d+=g?c:0;break;default:d+=g?0:c}l=b.d-1;for(i=0;i<=l;++i)c=(Cu(g?i:l-i,b.d),b.c[g?i:l-i]),h=c.Dd(),c.Sd(d,e+~~((f-h.b)/2),h.c,h.b),d+=h.c+a.d}function By(a,b){var c,d,e,f,g,h;h=a.d;g=0;for(d=a.c,e=0,f=d.length;e<f;++e)c=d[e],c.Xb&&(c=b?c.Dd():c.Bd(),g=Ui(g,c.b),h+=c.c+a.d);return new Qw(h,g+2*a.e)}function ux(){Cy.call(this,1,5,5)}
function Cy(a,b,c){Oo();this.d=b;this.e=c;this.b=a}s(373,1,Eh,ux,Cy);_.Wd=function(){};
_.Xd=function(a){this.c=Dy(a.Gb);if(0!=zy(this)){var b,c,d,e,f,g,h,i,l,m,n;b=kx(a);g=a.Vd();h=a.Rb.b;l=new pi;m=f=2*this.d;n=g.e+this.e;i=0;e=!0;var o,q,w;o=a.Gb.b.d;d=new Ey(o);for(w=0;w<o;++w)Iq(d.c,d.d++,null);for(c=this.c,o=0,w=c.length;o<w;++o)if(q=c[o],q.Sb==a){var F=d,z=Oi(a.Gb.b,q);Cu(z,F.d);Iq(F.c,z,q)}for(d=new Uh(d);d.c<d.e.ie();)if((c=Vh(d))&&c.Xb)a=c.Dd(),!e&&m+a.c>b.c&&(Ay(this,l,b.c-(m-this.d),g.c,n,i,h),l.c=v(Fy,k,0,0,0),l.d=0,m=f,n+=i+this.e,i=0),e=!1,Iq(l.c,l.d++,c),m+=a.c+this.d,
i=Ui(i,a.b);Ay(this,l,b.c-(m-this.d),g.c,n,i,h)}};_.Yd=function(a){this.c=Dy(a.Gb);return 0==zy(this)?jx(a,new Qw(10,10)):jx(a,By(this,!1))};_.Zd=function(a){this.c=Dy(a.Gb);return 0==zy(this)?jx(a,new Qw(10,10)):jx(a,By(this,!0))};_.$d=function(){};_.tS=function(){var a;switch(this.b){case 0:a=Me;break;case 2:a=Uf;break;case 1:a=wd;break;case 4:a="trailing";break;default:a="leading"}return Gy.e+"[hgap="+this.d+",vgap="+this.e+",align="+a+Zc};_.b=0;_.c=null;_.d=0;_.e=0;
function nx(){nx=u;ox=new Hy(Pb,0,12)}function Hy(a,b,c){nx();this.b=null!=a?a:"Default";this.c=0<=c?c:0;this.d=0==(b&-4)?b:0}s(374,1,Eh,Hy);_.b=null;_.c=0;_.d=0;var ox;s(375,1,Eh);_.tS=function(){return Iy.e+"[font="+this.d+"ascent="+Jy(this.d).b+", descent="+Jy(this.d).c+", height="+Jy(this.d).d+Zc};_.d=null;function Ky(a){if(!a.j){Tw(a);a.od();var b,c;for(b=0;b<a.n.d;++b)(c=hs(a.n,b))&&Ky(c);Yw(a,!1);a.j=!0;Fw(a,a,a.Sb,0);new Ly(a,202)}}
function My(a){var b,c;a.Xb&&(a.Tb.od(),a.Xb=!1);for(b=0;b<a.n.d;++b)(c=hs(a.n,b))&&c.od()}function Ny(a){!Iw(a)&&mx(a);var b=Rw(a);a.Sd(a._b,a.ac,b.c,b.b);Zw(a)}function Oy(a,b){a.o!=b&&(a.o=b)}s(377,356,zh);_.Cd=function(){return new ex(this.k.e,this.k.c,this.k.b,this.k.d)};_.od=function(){My(this)};_.Jd=function(){return this.Tb.d.hb};_.Sd=function(a,b,c,d){Vw(this,a,b,c,d);this.Mb=0};_.Td=function(a,b,c,d,e,f){e=c!=this.Yb||d!=this.Ob;Vw(this,a,b,c,d);this.Xb&&e&&!f&&Zw(this)};_.j=!1;_.o=!1;
function Py(a){qx.call(this);this.p=new Fx;this.n=new pi;this.k=new ex(0,0,0,0);this.Xb=!1;px(this,new Tx);this.Tb&&Qy(this.Tb.d.I.c,a);this.Tb&&Ry(this.Tb.d,!0);Oy(this,!0)}s(376,377,zh);_.Vd=function(){return new ex(this.k.e,this.k.c,this.k.b,this.k.d)};_.Fd=function(){return Zi(this.Tb.d.pb)};_.Gd=function(){return aj(this.Tb.d.pb)};_.Hd=function(){this.Tb=new Sy((Oo(),j),this)};
function Ty(a,b,c,d,e,f){var g,h;g=a.d;f?(h=ry(g),f=new gy(G(0.7*(g.b>>16&255)),G(0.7*(g.b>>8&255)),G(0.7*(g.b&255))),(a.d=g)&&(a.e=Tf+(g.b>>16&255)+Ba+(g.b>>8&255)+Ba+(g.b&255)+ya)):(h=new gy(G(0.7*(g.b>>16&255)),G(0.7*(g.b>>8&255)),G(0.7*(g.b&255))),f=ry(g),(a.d=h)&&(a.e=Tf+(h.b>>16&255)+Ba+(h.b>>8&255)+Ba+(h.b&255)+ya));--d;--e;Uy(a,b+1,c+1,d-1,e-1);(a.d=h)&&(a.e=Tf+(h.b>>16&255)+Ba+(h.b>>8&255)+Ba+(h.b&255)+ya);Uy(a,b,c,d,1);Uy(a,b,c+1,1,e);(a.d=f)&&(a.e=Tf+(f.b>>16&255)+Ba+(f.b>>8&255)+Ba+(f.b&
255)+ya);Uy(a,b+d,c,1,e);Uy(a,b+1,c+e,d,1)}s(378,1,{});_.tS=function(){return"Graphics"};function Vy(a){var b,c;c=Ui(0,a.e);0==c?(b=a.b,c=~~(a.c.length/b),0<a.c.length%b&&++c):(c=a.e,b=~~(a.c.length/c),0<a.c.length%c&&++b);return new Qw(b,c)}function Wy(a,b,c){var d,e,f,g,h,i;a.c=Dy(b.Gb);if(0==a.c.length)return new wy;g=Vy(a);h=i=0;for(e=a.c,b=0,f=e.length;b<f;++b)d=e[b],d=c?d.Dd():d.Bd(),i=Ui(i,d.c),h=Ui(h,d.b);return new Qw(i*g.c+a.d*(g.c-1),h*g.b+a.f*(g.b-1))}
function Xy(a,b,c,d,e){var f,g,h,i;h=d.length;a-=(h-1)*c;for(g=0,i=0;g<h;++g,b+=c)f=G(a*((g+1)/h))-i,d[g]=f,e[g]=i+b,i+=f}function Yy(){Zy.call(this,7)}function Zy(a){Oo();this.e=0;this.b=1;this.f=a;this.d=0}s(379,1,Eh,Yy,Zy);_.Wd=function(){};
_.Xd=function(a){var b,c;this.c=Dy(a.Gb);if(0!=this.c.length&&(b=kx(a),!(0>=b.c||0>=b.b))){c=Vy(this);var d=c.c;c=c.b;var a=a.Rb.b,e,f,g,h,i,l,m;f=v(E,r,-1,d,1);e=v(E,r,-1,d,1);i=v(E,r,-1,c,1);l=v(E,r,-1,c,1);Xy(b.c,b.d,this.d,f,e);Xy(b.b,b.e,this.f,i,l);b=0;h=0;a:for(;b<c;++b)for(g=0;g<d;++g)if(m=a?g:d-g-1,this.c[h].Sd(e[m],l[b],f[m],i[b]),++h==this.c.length)break a}};_.Yd=function(a){return jx(a,Wy(this,a,!1))};_.Zd=function(a){return jx(a,Wy(this,a,!0))};_.$d=function(){};
_.tS=function(){return $y.e+"[hgap="+this.d+",vgap="+this.f+",rows="+this.e+",cols="+this.b+Zc};_.b=0;_.c=null;_.d=0;_.e=0;_.f=0;function Vu(){Lm()}function nt(a){Lm();this.i=a}s(381,97,$g,Vu,nt);function Mw(){Lm();this.i="Missing message: awt.151"}s(380,381,$g,Mw);s(382,1,{});function ex(a,b,c,d){this.e=a;this.c=b;this.b=c;this.d=d}s(383,1,{90:1,106:1,108:1},ex);_.eQ=function(a){return a===this?!0:y(a,90)?a.c==this.c&&a.b==this.b&&a.d==this.d&&a.e==this.e:!1};
_.hC=function(){var a;a=31+this.e;a=31*a+this.c;a=31*a+this.b;return a=31*a+this.d};_.tS=function(){return az.e+"[left="+this.c+",top="+this.e+",right="+this.d+",bottom="+this.b+Zc};_.b=0;_.c=0;_.d=0;_.e=0;function bz(a){cz.call(this,a,0)}function cz(a,b){$w.call(this);this.Tb=(Oo(),new dz(a));this.b=b;var c=this.Tb;switch(b){case 1:var c=c.b,d=(Mu(),Xu);c.b=d;Ju(c);break;case 0:c=c.b;d=(Mu(),Nu);c.b=d;Ju(c);break;case 2:c=c.b,d=(Mu(),Ou),c.b=d,Ju(c)}}s(384,357,Vg,bz,cz);
_.yd=function(){return!Iw(this)?new Qw(0,0):dx(this.Tb,this)};_.Md=function(){var a=(null==this.Qb&&(this.Qb=Dw(this)),this.Qb)+Ba+this._b+Ba+this.ac+Ba+this.Yb+Lg+this.Ob+(this.Xb?j:",hidden")+",align=",b;b=Me;switch(this.b){case 1:b=wd;break;case 2:b=Uf}return a+b+",text=null"};_.b=0;s(387,1,Eh);_.Md=function(){return this.k};_.tS=function(){return this.cZ.e+Xc+this.Md()+Zc};_.k=null;_.n=null;
function ez(a){var b;b=a.k+",label="+a.i;a.f||(b+=",disabled");null!=a.d&&(b+=",command="+a.d);return b}function fz(a){this.o=(Oo(),Oo(),ax);var b;var c;b=this.cZ.e;-1!=ht(b,it(36))?b=null:(c=this.o.c.d++,b=mn(b,Ew(b,it(46))+1)+j+c);this.k=b;this.e=new Ex;this.i=a;this.f=!0;this.j=new gz(this)}s(386,387,Eh,fz);_.Md=function(){return ez(this)};_.d=null;_.f=!1;_.i=null;_.j=null;s(385,386,Lh);_.Md=function(){return ez(this)+(this.c?",tearOff":j)};_.c=!1;s(389,1,{100:1});
_.eQ=function(a){return a===this?!0:y(a,100)?this.b==a.b&&this.c==a.c:!1};_.hC=function(){var a;a=new xy;hz(a,this.b);hz(a,this.c);return a.b};function Lw(a,b,c){a.b+=b;a.c+=c}function Kw(){this.c=this.b=0}function iz(a,b){this.b=a;this.c=b}function jz(a){var b=a.c;this.b=a.b;this.c=b}s(388,389,{93:1,100:1,106:1},Kw,iz,jz);_.eQ=function(a){return a===this?!0:y(a,93)?this.b==a.b&&this.c==a.c:!1};_.tS=function(){return kz.e+"[x="+this.b+",y="+this.c+Zc};_.b=0;_.c=0;
function lz(a,b){if(!b)throw new Xp("Missing message: awt.70");var c=a.b;if(C(b.i,Da)){var c=c.b.b,d=new Nv,e=c.d.d;if(0>e||e>c.d.d)throw new Dt;c.p&&(d.pb[Ed]=2);vv(c,e,d.pb);hx(c.d,e,d)}else{var d=c.b.b,c=b.j.b,e=d.d.d,f,g;if(0>e||e>d.d.d)throw new Dt;hx(d.d,e,c);for(f=g=0;f<e;++f)y(hs(d.d,f),72)&&++g;hx(d.j,g,c);vv(d,e,c.pb);c.c=d;e=gt(c.pb)+Xa;Wh(c.Sc(),e,!1);d.p&&(e=Oi(d.d,c),-1!=e&&(d=Rs(d.p?d.f:Rs(d.f,0),e),2==Ss(d)&&d.removeChild(Rs(d,1)),c.pb[Ed]=2))}}
function mz(){fz.call(this,j);new pi;this.c=!1;this.b=(Oo(),new nz)}s(390,385,Lh,mz);_.b=null;s(393,1,{95:1,102:1,108:1});s(392,393,{95:1,101:1,102:1,108:1});_.eQ=function(a){return a===this?!0:y(a,101)?this.d==a.d&&this.e==a.e&&this.c==a.c&&this.b==a.b:!1};_.hC=function(){var a;a=new xy;hz(a,this.d);hz(a,this.e);hz(a,this.c);hz(a,this.b);return a.b};function lx(a,b,c,d){this.d=a;this.e=b;this.b=d;this.c=c}s(391,392,{94:1,95:1,101:1,102:1,106:1,108:1},lx);
_.eQ=function(a){return a===this?!0:y(a,94)?a.d==this.d&&a.e==this.e&&a.c==this.c&&a.b==this.b:!1};_.tS=function(){return oz.e+"[x="+this.d+",y="+this.e+",width="+this.c+",height="+this.b+Zc};_.b=0;_.c=0;_.d=0;_.e=0;s(394,357,Vg);_.xd=function(){return null};function pz(a,b){var c;c=new qz(Iw(a));return!c?null:new Qw(rz(c,"_")*b+6,Jy(c.d).d+6)}function sz(a,b){var c;c=pz(a,b);return!c?Pw(a):c}function tz(a,b){var c;c=pz(a,b);return!c?Rw(a):c}
function uz(a,b){var c=a.Tb;gw(c.b,b);c.f.b=-1;c.f.c=-1}function vz(a){wz.call(this,a,null!=a?a.length:0)}function wz(a,b){$w.call(this);this.b=0>b?0:b;var c=this.Tb;gw(c.b,a);c.f.b=-1;c.f.c=-1}s(395,394,Vg,vz,wz);_.wd=function(){return"textfield"+this.Vb.c.f++};_.yd=function(){return pz(this,pn(this.Tb.b.pb,Fg).length)};_.zd=function(){return!Iw(this)?null:pz(this,pn(this.Tb.b.pb,Fg).length)};_.Bd=function(){return 0<this.b?sz(this,this.b):Pw(this)};
_.Dd=function(){return 0<this.b?tz(this,this.b):Rw(this)};_.Hd=function(){this.Tb=(Oo(),new xz)};_.Ld=function(){return 0<this.b?sz(this,this.b):Pw(this)};_.Nd=function(){return 0<this.b?tz(this,this.b):Rw(this)};_.b=0;function Oo(){Oo=u;ax=new yz}function wp(){var a=(Oo(),Oo(),ax);!a.d&&(a.d=new zz)}function yz(){this.c=new Az}s(396,1,{},yz);_.b=null;_.d=null;var ax;function Az(){}s(397,1,{},Az);_.b=0;_.c=0;_.d=0;_.e=0;_.f=0;s(398,1,{});function Bz(){Bz=u;Cz=new Dz;Ez=new Dz}
function Fz(a,b){return b==a?!0:!b?!1:!0}function Dz(){}s(399,1,{97:1},Dz);_.eQ=function(a){return null==a||!y(a,97)?!1:Fz(this,a)};_.hC=function(){var a;a=null.kf()+";class="+null.kf();a=!null.kf().kf()?a:a+";charset=";return vr(a)};_.tS=function(){return Gz.e+"[MimeType=(null);humanPresentableName="+this.b+Zc};_.b=null;var Cz,Ez;function Hz(){Hz=u;D(Iz,k,97,[(Bz(),Ez),Cz])}function Jz(a){Hz();this.b=a}s(400,1,{},Jz);_.b=null;function Kz(a){a="flavor = "+a;Lm();this.i=a}
s(401,98,{98:1,106:1,112:1,119:1},Kz);function Lz(a,b){Bx();zx.call(this,a);this.e=0;this.b=b;this.d=Og;this.c=0}s(402,358,Eh,Lz);_.Md=function(){var a,b;a=1001==this.e?"ACTION_PERFORMED":"unknown type";b=j;0<(this.c&1)&&(b+="Shift");0<(this.c&2)&&(b+=0==b.length?"Ctrl":"+Ctrl");0<(this.c&4)&&(b+=0==b.length?"Meta":"+Meta");0<(this.c&8)&&(b+=0==b.length?"Alt":"+Alt");return a+",cmd="+this.b+",when="+pr(this.d)+",modifiers="+b};_.b=null;_.c=0;_.d=Og;function Ww(a,b){Bx();zx.call(this,a);this.e=b}
s(403,358,Eh,Ww);_.Md=function(){var a,b;a=this.f;switch(this.e){case 100:b="COMPONENT_MOVED";break;case 101:b="COMPONENT_RESIZED";break;case 102:return"COMPONENT_SHOWN";case 103:return"COMPONENT_HIDDEN";default:return"unknown type"}return b+" ("+a.Fd()+Ba+a.Gd()+ca+a.Ed()+Lg+a.Ad()+ya};function gx(a,b,c){Bx();Ww.call(this,a,b);this.b=c}s(404,403,Eh,gx);
_.Md=function(){var a;switch(this.e){case 300:a="COMPONENT_ADDED";break;case 301:a="COMPONENT_REMOVED";break;default:a="unknown type"}a+=",child=";var b=this.b;null==b.Qb&&(b.Qb=b.wd());return a+b.Qb};_.b=null;function Gw(a,b,c,d){Bx();zx.call(this,a);this.e=1400;this.c=b;this.d=c;this.b=d}s(405,358,Eh,Gw);
_.Md=function(){var a;switch(this.e){case 1400:a="HIERARCHY_CHANGED";break;case 1401:a="ANCESTOR_MOVED";break;case 1402:a="ANCESTOR_RESIZED";break;default:a="unknown type"}a+=" (";1400==this.e&&(nr(gr(this.b,Pg))&&(a+="PARENT_CHANGED,"),nr(gr(this.b,Qg))&&(a+="DISPLAYABILITY_CHANGED,"),nr(gr(this.b,Sg))&&(a+="SHOWING_CHANGED,"));return a+"changed="+this.c+",changedParent="+this.d+ya};_.b=Og;_.c=null;_.d=null;s(406,1,{});function Ly(a,b){Bx();Ww.call(this,a,b);this.d=null;this.b=this.c=0}
s(407,403,Eh,Ly);
_.Md=function(){var a;switch(this.e){case 200:a="WINDOW_OPENED";break;case 201:a="WINDOW_CLOSING";break;case 202:a="WINDOW_CLOSED";break;case 203:a="WINDOW_ICONIFIED";break;case 204:a="WINDOW_DEICONIFIED";break;case 205:a="WINDOW_ACTIVATED";break;case 206:a="WINDOW_DEACTIVATED";break;case 207:a="WINDOW_GAINED_FOCUS";break;case 208:a="WINDOW_LOST_FOCUS";break;case 209:a="WINDOW_STATE_CHANGED";break;default:a="unknown type"}return a+",opposite="+this.d+",oldState="+this.c+",newState="+this.b};_.b=0;
_.c=0;_.d=null;s(408,1,{});function Mz(a){if(null==a)throw new Im;}s(409,408,{},Mz);
function Nz(){Nz=u;Oz={};Oz["java.vendor"]=qe;Oz["package.restrict.access.sun"]=Eg;Oz["sun.java.launcher"]=hc;Oz["sun.management.compiler"]=qe;Oz["os.name"]=hc;Oz[" sun.boot.class.path"]=hc;Oz["path.separator.applet"]=hc;Oz["java.vm.specification.vendor"]=qe;Oz["java.runtime.version"]=hc;Oz["http.proxyPort"]=hc;Oz["user.name"]=hc;Oz["user.language"]=hc;Oz["os.name.applet"]=hc;Oz["browser.version"]=hc;Oz["java.version"]=hc;Oz["user.timezone"]=hc;Oz["java.endorsed.dirs"]=hc;Oz["java.specification.name"]=
"GWT";Oz["java.specification.version"]="2.5.0";Oz[Ie]=cc}var Oz;s(412,98,wh);function Pz(){Lm()}function Qz(a){Lm();this.i=a}s(411,412,{104:1,106:1,112:1,119:1},Pz,Qz);function Rz(){Rz=u;Sz=new Tz}function Uz(a){var b;if(a.n){var c;b=new tr;Fm(b.b,a.i);b.b.b+=nb;c=a.b;null!=c&&0<c.length&&(b.b.b+=$a,Fm(b.b,a.b));c=a.c;a=a.k;null!=c&&Fm(b.b,c);null!=a&&(b.b.b+=na,Fm(b.b,a));b=b.b.b}else b="unknown protocol("+a.i+")://"+a.d+a.c;return b}
function Vz(a){Rz();var b,c,d;if(null==a)throw new Pz;a=ln(a);try{d=ht(a,it(58))}catch(e){e=$h(e);if(y(e,115))throw new Qz(Jm(e));throw e;}c=ht(a,it(91));if(0<=d&&(-1==c||d<c)){this.i=a.substr(0,d-0);b=this.i.charCodeAt(0);b=97<=b&&122>=b||65<=b&&90>=b;for(c=1;b&&c<this.i.length;++c)b=this.i.charCodeAt(c),b=97<=b&&122>=b||65<=b&&90>=b||48<=b&&57>=b||43==b||45==b||46==b;if(b){c=this.i;Wz();var f,g,h;h=c.length;b=new Xz;for(g=0;g<h;++g){f=c.charCodeAt(g);if(65<=f&&90>=f){var i=b.b;f=String.fromCharCode(f+
32&65535)}else i=b.b,f=String.fromCharCode(f);i.b+=f}this.i=b.b.b}else this.i=null,d=-1}if(null==this.i)throw new Qz($b+a);if(!this.n&&(this.n=si(Sz,this.i),this.n||(this.n=(Oo(),new Yz))&&x(Sz,this.i,this.n),!this.n))throw new Qz($b+a);try{c=a;var l=++d,m=a.length,n,o,q,w,F,z,J,N,S,$,M,gc,yc,Mf,lb,Fd,Gd,Hd,Sa,zc,xb;if(m<l||0>m){if(-2147483647>=m&&(l>=c.length||0>l)||!(0>l||l>=c.length)&&c.indexOf($a,l)==l&&-1==Zz(c,it(47),l+2))throw new $z(m);}else{M=c.substr(l,m-l);m-=l;z=0;J=this.d;gc=this.f;Hd=
this.k;w=this.e;lb=this.j;n=this.b;xb=this.o;Sa=Zz(M,it(35),0);if(0==M.indexOf($a)&&0!=M.indexOf("////")){S=2;gc=-1;z=Zz(M,it(47),2);Gd=Zz(M,it(63),2);-1!=Gd&&(-1==z||z>Gd)&&(z=Gd);-1==z&&(z=m,w=j);N=z;-1!=Sa&&Sa<z&&(N=Sa);var md=it(64);zc=M.lastIndexOf(md,N);n=M.substr(2,N-2);-1<zc&&(xb=M.substr(2,zc-2),S=zc+1);yc=Zz(M,it(58),-1==zc?S:zc);q=ht(M,it(93));if(-1!=q)try{M.length>q+1?(o=M.charCodeAt(q+1),58==o?yc=q+1:yc=-1):yc=-1}catch(We){if(We=$h(We),!y(We,112))throw We;}-1==yc||yc>z?J=M.substr(S,N-
S):(J=M.substr(S,yc-S),Mf=M.substr(yc+1,N-(yc+1)),0==Mf.length?gc=-1:gc=aA(Mf,10))}-1<Sa&&(Hd=M.substr(Sa+1,m-(Sa+1)));F=-1==Sa?m:Sa;var Ub=it(63);Fd=M.lastIndexOf(Ub,F);-1<Fd?(lb=M.substr(Fd+1,F-(Fd+1)),0==Fd&&null!=w&&(C(w,j)?w=Za:w.indexOf(Za),$=Ew(w,it(47))+1,w=w.substr(0,$-0)),F=Fd):0!=Sa&&(lb=null);-1<z&&(z<m&&47==M.charCodeAt(z)?w=M.substr(z,F-z):F>z&&(null==w?w=j:C(w,j)?w=Za:w.indexOf(Za),$=Ew(w,it(47))+1,0==$?w=M.substr(z,F-z):w=w.substr(0,$-0)+M.substr(z,F-z)));null==w&&(w=j);null==J&&(J=
j);d=J;var pe;pe=w;null!=lb&&!C(lb,j)&&(null!=w?pe=w+ub+lb:pe=ub+lb);null==this.i&&(this.i=this.i);this.d=d;this.c=pe;this.f=gc;this.k=Hd;var nd;null!=this.d&&0<this.d.length&&(this.b=this.d,-1!=this.f&&(this.b=this.b+nb+this.f));null!=this.d&&-1<(nd=Ew(this.d,it(64)))?(this.o=this.d.substr(0,nd-0),this.d=mn(this.d,nd+1)):this.o=null;null!=this.c&&-1<(nd=ht(this.c,it(63)))?(this.j=mn(this.c,nd+1),this.e=this.c.substr(0,nd-0)):(this.j=null,this.e=this.c);this.b=n;this.o=xb;this.e=w;this.j=lb}}catch(od){od=
$h(od);if(y(od,112))throw new Qz(Jm(od));throw od;}if(-1>this.f)throw new Qz("incorrect port: "+this.f);}s(413,1,Eh,Vz);_.tS=function(){return Uz(this)};_.b=null;_.c=null;_.d=null;_.e=null;_.f=-1;_.i=null;_.j=null;_.k=null;_.n=null;_.o=null;var Sz;s(414,1,{});function bA(a,b,c){var d,e;for(d=new cA(a.de().b);dA(d.b);)if(a=d.c=Vh(d.b),e=a.He(),null==b?null==e:Rm(b,e))return c&&eA(d),a;return null}s(418,1,Ah);_.ce=function(a){return!!bA(this,a,!1)};
_.eQ=function(a){var b,c;if(a===this)return!0;if(!y(a,122)||this.ie()!=a.ie())return!1;for(a=new cA(a.de().b);dA(a.b);)if(b=a.c=Vh(a.b),c=b.He(),b=b.Ie(),!this.ce(c)||!fA(b,this.ee(c)))return!1;return!0};_.ee=function(a){a=bA(this,a,!1);return!a?null:a.Ie()};_.hC=function(){var a,b,c;c=0;for(b=new cA(this.de().b);dA(b.b);)a=b.c=Vh(b.b),c+=a.hC(),c=~~c;return c};_.fe=function(){return 0==this.ie()};_.ge=function(){throw new gA("Put not supported on this map");};
_.he=function(a){a=bA(this,a,!0);return!a?null:a.Ie()};_.ie=function(){return this.de().b.e};_.tS=function(){var a,b,c,d;d="{";a=!1;for(c=new cA(this.de().b);dA(c.b);)b=c.c=Vh(c.b),a?d+=Ca:a=!0,d+=j+b.He(),d+=sb,d+=j+b.Ie();return d+"}"};function fw(a){a.b=[];a.f={};a.d=!1;a.c=null;a.e=0}function Us(a,b){var c;if(null==b)c=a.d;else if(y(b,1))c=nb+b in a.f;else a:{c=a.le(b);if(c=a.b[c])for(var d=0,e=c.length;d<e;++d)if(a.ke(b,c[d].He())){c=!0;break a}c=!1}return c}
function si(a,b){var c;if(null==b)c=a.c;else if(y(b,1))c=a.f[nb+b];else a:{c=a.le(b);if(c=a.b[c])for(var d=0,e=c.length;d<e;++d){var f=c[d];if(a.ke(b,f.He())){c=f.Ie();break a}}c=null}return c}function x(a,b,c){if(null==b)c=hA(a,c);else if(y(b,1))c=iA(a,b,c);else a:{var d=a.le(b),e=a.b[d];if(e)for(var f=0,g=e.length;f<g;++f){if(d=e[f],a.ke(b,d.He())){a=d.Ie();d.Je(c);c=a;break a}}else e=a.b[d]=[];d=new jA(b,c);e.push(d);++a.e;c=null}return c}
function hA(a,b){var c;c=a.c;a.c=b;a.d||(a.d=!0,++a.e);return c}function iA(a,b,c){var d,e=a.f,b=nb+b;b in e?d=e[b]:++a.e;e[b]=c;return d}function ci(a,b){var c;if(null==b)c=a.c,a.c=null,a.d&&(a.d=!1,--a.e);else if(y(b,1)){var d,e=a.f;c=nb+b;c in e&&(d=e[c],--a.e,delete e[c]);c=d}else a:{c=a.le(b);if(d=a.b[c])for(var e=0,f=d.length;e<f;++e){var g=d[e];if(a.ke(b,g.He())){1==d.length?delete a.b[c]:d.splice(e,1);--a.e;c=g.Ie();break a}}c=null}return c}s(417,418,Ah);_.ce=function(a){return Us(this,a)};
_.de=function(){return new kA(this)};_.ke=function(a,b){return this.je(a,b)};_.ee=function(a){return si(this,a)};_.ge=function(a,b){return x(this,a,b)};_.he=function(a){return ci(this,a)};_.ie=function(){return this.e};_.b=null;_.c=null;_.d=!1;_.e=0;_.f=null;function Sh(){fw(this)}s(416,417,Zg,Sh);_.je=function(a,b){return Kq(a)===Kq(b)||null!=a&&Rm(a,b)};_.le=function(a){return~~Um(a)};function Tz(){fw(this)}s(415,416,Zg,Tz);function lA(){Lm()}s(419,97,$g,lA);
function mA(a){var b,c;b=0;for(c=a.b;c<a.j;){c=nA(a,c);if(c>=a.j)break;c=oA(a,c);++b}return b}function pA(a,b){var c;for(c=0;c<a.c.length;++c)if(a.c[c]==b)return!0;return!1}function qA(a){var b;a.b=0<=a.k&&!a.e?a.k:nA(a,a.b);a.e=!1;a.k=-1;if(a.b>=a.j)throw new lA;b=a.b;a.b=oA(a,a.b);return a.o.substr(b,a.b-b)}
function oA(a,b){var c,d;for(d=b;d<a.j;)if(a.f){c=rA(a.o,d);if(c<=a.i&&pA(a,c))break;d+=65536<=c?2:1}else{c=a.o.charCodeAt(d);if(c<=a.i&&0<=ht(a.d,it(c)))break;++d}a.n&&b==d&&(a.f?(c=rA(a.o,d),c<=a.i&&pA(a,c)&&(d+=65536<=c?2:1)):(c=a.o.charCodeAt(d),c<=a.i&&0<=ht(a.d,it(c))&&++d));return d}function nA(a,b){var c,d;if(null==a.d)throw new Im;for(d=b;!a.n&&d<a.j;)if(a.f){c=rA(a.o,d);if(c>a.i||!pA(a,c))break;d+=65536<=c?2:1}else{c=a.o.charCodeAt(d);if(c>a.i||0>ht(a.d,it(c)))break;++d}return d}
function sA(a){tA.call(this,a," \t\n\r\u000c",!1)}function uA(a){tA.call(this,a,Ba,!1)}function tA(a,b,c){this.b=0;this.k=-1;this.e=!1;this.o=a;this.j=a.length;this.d=b;this.n=c;var d;if(null==this.d)this.i=0;else{for(c=b=d=0;c<this.d.length;c+=65536<=a?2:1)a=this.d.charCodeAt(c),55296<=a&&57343>=a&&(a=rA(this.d,c),this.f=!0),d<a&&(d=a),++b;this.i=d;if(this.f){this.c=v(E,r,-1,b,1);for(c=0,d=0;c<b;++c,d+=65536<=a?2:1)a=rA(this.d,d),this.c[c]=a}}}s(420,1,{},sA,uA,tA);_.b=0;_.c=null;_.d=null;_.e=!1;
_.f=!1;_.i=0;_.j=0;_.k=0;_.n=!1;_.o=null;function vA(a){wA.call(this,a,-1,-1,null)}function xA(a,b,c){wA.call(this,a,b,c,null)}
function wA(a,b,c,d){var e;if(null==a)$wnd.alert("JSME initialization error: HTML id argument is null.");else if(e=xi(a)){this.b=new yA;this.c=new zA(this.b,b,c,d);At(e,this.c,e.pb);d&&fd in d&&(this.c.c=d[fd]);var a=this.c,b=a.d,f,g,h,i,l,m;b.J?AA="JSME":(AA="JME",b.C+=2);b.u=BA(b,!1);b.v=BA(b,!0);yp(b,AA+" Molecular Editor by Peter Ertl and Bruno Bienfait");b.A=yx(b);px(b,null);b.kb||(b.Q=0);b.R||(b.R=new Hy(Yb,0,b.C),b.U=new qz(b.R));b.S||(b.S=new Hy(Yb,1,b.C),b.T=new qz(b.S));c=b.C-2;b.V||(b.V=
new Hy(Yb,0,c),b.W=new qz(b.V));b.k||(b.k=new Hy(Yb,0,b.C),b.n=new qz(b.k));b.qb=!0;b.tb=!1;b.p=!1;b.Ab=!0;b.r=!0;b.sb=!1;CA=10;b.xb=!0;try{m=DA(b.Fb,"options");null!=m&&EA(b,m);h=DA(b.Fb,"jme");null!=h&&(b.K=h);i=DA(b.Fb,"mol");null!=i&&(b._=i);g=DA(b.Fb,"depictcgi");null!=g&&(b.ub=!0);l=DA(b.Fb,qg);null!=l&&(b.ab=l,FA(b));b.j=DA(b.Fb,"atomcolors");b.i=DA(b.Fb,"atombg");f=DA(b.Fb,"depictbg");if(null!=f&&b.x){var n;var o,q,w,F;q=(ey(),fy);try{if(0!=f.indexOf(na))throw new Km("bad hex encoding");F=
aA(f.substr(1,2),16);w=aA(f.substr(3,2),16);o=aA(f.substr(5,2),16);n=q=new gy(F,w,o)}catch(z){if(z=$h(z),y(z,112))Nz(),n=q;else throw z;}b.s=n}b.wb&&b.Y&&GA(b.Y)}catch(J){if(J=$h(J),!y(J,112))throw J;}b.c=202;for(f=0;23>f;++f)HA[f]=(ey(),my),IA[f]=Wc;IA[1]=Xb;HA[1]=(ey(),jy);IA[2]=Eb;HA[2]=my;IA[3]=Ib;HA[3]=jy;IA[4]=fc;HA[4]=qy;IA[5]=qc;HA[5]=ly;IA[9]=Sb;HA[9]=oy;IA[10]=Mb;HA[10]=oy;IA[11]=Hb;HA[11]=oy;IA[12]=Zb;HA[12]=oy;IA[8]=Hc;HA[8]=sy(ny);IA[7]=sc;HA[7]=my;IA[6]=Kc;HA[6]=jy;IA[13]=Jc;HA[13]=
jy;IA[18]=Wc;HA[18]=jy;IA[19]=tc;HA[19]=jy;IA[20]=uc;HA[20]=jy;IA[21]=vc;HA[21]=jy;IA[22]=wc;HA[22]=jy;Zw(b);b.Z=new JA;f=a.d;f.A=yx(f);null!=f.K?(KA(f,f.K),null!=f.i&&f.Y&&LA(f.Y,f.i,!0),null!=f.j&&f.Y&&LA(f.Y,f.j,!1)):null!=f._&&MA(f,f._,!0);FA(a.d)}else $wnd.alert("JSME initialization error: HTML id "+a+" not found.")}function NA(a,b){wA.call(this,a,-1,-1,b)}s(421,1,{139:1},vA,xA,wA,NA);_.me=function(a){OA(new PA(a,this.b,QA))};_.ne=function(){dn((an(),bn),new RA(this))};_.oe=function(){return this.b.G};
_.pe=function(a){$wnd.alert("JSME initialization error: "+a)};_.qe=function(){var a=this.b,b;a.tb?b=SA(a,1)+tb+SA(a,2)+tb+SA(a,3):b=SA(a,0);return b};_.re=function(){return up(this.b)};_.se=function(){var a=this.b,b,c;b=a.Ab;a.Ab=!1;c=TA(a);a.Ab=b;FA(a);return c};_.te=function(a){EA(this.b,a)};_.ue=function(){};_.ve=function(a){MA(this.b,a,!0)};_.we=function(a){KA(this.b,a)};_.xe=function(){FA(this.b)};_.ye=function(){UA(this.b)};
_.ze=function(a){var b=this.c,c,d;if(b.c!=a){b.c=a;for(d=new Uh(b.b);d.c<d.e.ie();)c=Vh(d),a?c.b=j:c.b='shape-rendering="crispEdges"'}FA(b.d)};_.Ae=function(a){this.b.G=a};_.Be=function(a){VA(this.b,a)};_.Ce=function(a,b){var c=this.b;c.f=!1;c.Bb=new WA(c,a);XA(c.Bb);c.c=253;c.gb=!0;c.I=b;FA(c)};_.De=function(){return YA(this.b)};_.b=null;_.c=null;function RA(a){this.b=a}s(422,1,{},RA);_.hc=function(){var a,b;for(b=new Uh(this.b.c.b);b.c<b.e.ie();)a=Vh(b),a.r.pb.innerHTML=a.o||j};_.b=null;
function ZA(){var a=($A(),aB()),b;$wnd.JavaScriptApplet.JSME=Oj(function(){var a,b=arguments,e=bB;$A();b=b&&b[0]&&("object"==typeof b[0]||typeof b[0]==ke)?b[0]:null;a:if(cB==e||dB==e&&y(b,139))e=!0;else{if(null!=b)for(b=Qm(b);b&&b!=cB;b=null)if(b==e){e=!0;break a}e=!1}e?a=arguments[0]:3==arguments.length?a=new xA(arguments[0],arguments[1],arguments[2]):1==arguments.length?a=new vA(arguments[0]):4==arguments.length?a=new wA(arguments[0],arguments[1],arguments[2],arguments[3]):2==arguments.length&&
(a=new NA(arguments[0],arguments[1]));this.g=a;a.__gwtex_wrap=this;return this});b=$wnd.JavaScriptApplet.JSME.prototype={};b.alert=Oj(function(a){this.g.me(a)});b.deferredRepaint=Oj(function(){this.g.ne()});b.getHelpURL=Oj(function(){return this.g.b.G});b.initializationError=Oj(function(a){this.g.pe(a)});b.jmeFile=Oj(function(){return this.g.qe()});b.molFile=Oj(function(){return this.g.re()});b.nonisomericSmiles=Oj(function(){return this.g.se()});b.options=Oj(function(a){this.g.te(a)});b.ping=Oj(function(){});
b.readMolFile=Oj(function(a){this.g.ve(a)});b.readMolecule=Oj(function(a){this.g.we(a)});b.repaint=Oj(function(){this.g.xe()});b.reset=Oj(function(){this.g.ye()});b.setAntialias=Oj(function(a){this.g.ze(a)});b.setHelpURL=Oj(function(a){this.g.Ae(a)});b.setSubstituent=Oj(function(a){this.g.Be(a)});b.setTemplate=Oj(function(a,b){this.g.Ce(a,b)});b.smiles=Oj(function(){return this.g.De()});eB();if(a)for(p in a)void 0===$wnd.JavaScriptApplet.JSME[p]&&($wnd.JavaScriptApplet.JSME[p]=a[p])}
function Oq(){fB||(fB=!0,ZA())}s(423,1,{},Oq);var fB=!1;function gB(a){Lm();this.i=a}s(425,412,wh,gB);function Uq(){Lm();this.i="divide by zero"}s(426,97,$g,Uq);function Jq(){Lm()}function hB(a){Lm();this.i=a}s(427,97,$g,Jq,hB);function iB(){}function jB(a){return typeof a==zf?Hc+(0>a?-a:a):a}function kB(a,b){var c;c=new iB;c.e=Nb+(lB(0!=a?-a:0)?jB(0!=a?-a:0):j+Mh(c));mB(0!=a?-a:0)&&nB(0!=a?-a:0,c);c.c=4;c.b=b;return c}
function U(a){var b;b=new iB;b.e=Nb+(lB(a)?jB(a):j+Mh(b));mB(a)&&nB(a,b);return b}function V(a,b){var c;c=new iB;c.e=Nb+(lB(a)?jB(a):j+Mh(c));mB(a)&&nB(a,c);c.c=b?8:0;return c}function oB(){var a;a=new iB;a.e=Nb+(lB(0)?jB(0):j+Mh(a));mB(0)&&nB(0,a);a.c=2;return a}function pB(a){var b;b=new iB;b.e=Nb+(lB(a)?jB(a):j+Mh(b));mB(a)&&nB(a,b);b.c=1;return b}function mB(a){return typeof a==zf&&0<a}function lB(a){return null!=a&&0!=a}
function nB(a,b){var c;b.d=a;if(2==a)c=String.prototype;else if(0<a)if(c=Tg[b.d])c=c.prototype;else{c=Tg[a]=function(){};c.cZ=b;return}else return;c.cZ=b}s(429,1,{},iB);_.tS=function(){return(0!=(this.c&2)?"interface ":0!=(this.c&1)?j:"class ")+this.e};_.b=null;_.c=0;_.d=0;_.e=null;function qB(a){var b;b=rB;!b&&(b=rB=/^\s*[+-]?((\d+\.?\d*)|(\.\d+))([eE][+-]?\d+)?[dDfF]?\s*$/i);b=b.test(a)?parseFloat(a):Number.NaN;if(isNaN(b))throw new sB(Vb+a+da);return b}
function aA(a,b){var c,d;if(null==a)throw new sB(yf);if(2>b||36<b)throw new sB("radix "+b+" out of range");d=a.length;for(c=0<d&&45==a.charCodeAt(0)?1:0;c<d;++c){var e=a.charCodeAt(c);if(-1==(2>b||36<b?-1:48<=e&&e<48+(10>b?b:10)?e-48:97<=e&&e<b+97-10?e-97+10:65<=e&&e<b+65-10?e-65+10:-1))throw new sB(Vb+a+da);}c=parseInt(a,b);if(isNaN(c))throw new sB(Vb+a+da);if(-2147483648>c||2147483647<c)throw new sB(Vb+a+da);return c}s(431,1,{106:1,116:1});var rB=null;function tB(a){this.b=a}
s(430,431,{106:1,109:1,110:1,116:1},tB);_.eQ=function(a){return y(a,110)&&a.b==this.b};_.hC=function(){return G(this.b)};_.tS=function(){return j+this.b};_.b=0;function Ax(){Lm()}function Lj(a){Lm();this.i=a}s(432,97,bh,Ax,Lj);function Dt(){Lm()}function Fu(a){Lm();this.i=a}s(433,97,$g,Dt,Fu);function Q(a){this.b=a}
function er(a){var b,c;if(0>a)return 0;if(0==a)return 32;b=-(a>>16)>>16&16;c=16-b;a>>=b;b=a-256>>16&8;c+=b;a<<=b;b=a-4096>>16&4;c+=b;a<<=b;b=a-16384>>16&2;c+=b;a=a<<b>>14;return c+2-(a&~(a>>1))}function Zq(a){var b,c;if(0==a)return 32;c=0;for(b=1;0==(b&a);b<<=1)++c;return c}function uB(a){var b,c;return-129<a&&128>a?(b=a+128,c=(vB(),wB)[b],!c&&(c=wB[b]=new Q(a)),c):new Q(a)}s(434,431,{106:1,109:1,114:1,116:1},Q);_.eQ=function(a){return y(a,114)&&a.b==this.b};_.hC=function(){return this.b};
_.tS=function(){return j+this.b};_.b=0;function vB(){vB=u;wB=v(xB,k,114,256,0)}var wB;function Vi(a){return 0>a?-a:a}function Ui(a,b){return a>b?a:b}function yB(a){return Math.round(a)}function Im(){Lm()}function Xp(a){Lm();this.i=a}s(437,97,{106:1,112:1,115:1,117:1,119:1},Im,Xp);function Oh(){Oh=u;Ph=D(Nh,k,-1,[48,49,50,51,52,53,54,55,56,57,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122])}var Ph;function sB(a){Lm();this.i=a}s(439,432,bh,sB);
function Pm(a){this.b="Unknown";this.d=a;this.c=-1}s(440,1,{106:1,118:1},Pm);_.tS=function(){return this.b+Ya+this.d+"(Unknown Source"+(0<=this.c?nb+this.c:j)+ya};_.b=null;_.c=0;_.d=null;function zB(a,b){return a.charCodeAt(b)}function rA(a,b){var c=b,d=a.length,e,f;e=zB(a,c++);if(d=55296<=e&&56319>=e&&c<d)c=f=a.charCodeAt(c),d=56320<=c&&57343>=c;return d?65536+((e&1023)<<10)+(f&1023):e}function AB(a,b){return-1!=a.lastIndexOf(b)&&a.lastIndexOf(b)==a.length-b.length}
function C(a,b){return!y(b,1)?!1:""+a==b}function sq(a,b){return null==b?!1:a==b||a.toLowerCase()==b.toLowerCase()}function ht(a,b){return a.indexOf(b)}function Zz(a,b,c){return a.indexOf(b,c)}function Ew(a,b){return a.lastIndexOf(b)}function BB(a){var b=aa,c=Ng,d;for(d=0;0<=(d=c.indexOf(Yc,d));)36==c.charCodeAt(d+1)?c=c.substr(0,d-0)+"$"+mn(c,++d):c=c.substr(0,d-0)+mn(c,++d);return a.replace(RegExp(b,le),c)}
function CB(a,b){for(var c=RegExp(b,le),d=[],e=0,f=a,g=null;;){var h=c.exec(f);if(null==h||f==j){d[e]=f;break}else d[e]=f.substring(0,h.index),f=f.substring(h.index+h[0].length,f.length),c.lastIndex=0,g==f&&(d[e]=f.substring(0,1),f=f.substring(1)),g=f,e++}if(0<a.length){for(c=d.length;0<c&&d[c-1]==j;)--c;c<d.length&&d.splice(c,d.length-c)}c=v(Nq,k,1,d.length,0);for(e=0;e<d.length;++e)c[e]=d[e];return c}function mn(a,b){return a.substr(b,a.length-b)}
function ln(a){return 0==a.length||a[0]>ca&&a[a.length-1]>ca?a:a.replace(/^(\s*)/,j).replace(/\s*$/,j)}function it(a){var b;return 65536<=a?(b=56320+(a-65536&1023)&65535,String.fromCharCode(55296+(a-65536>>10&1023)&65535)+String.fromCharCode(b)):String.fromCharCode(a&65535)}_=String.prototype;_.cM={1:1,106:1,107:1,109:1};_.eQ=function(a){return C(this,a)};_.hC=function(){return vr(this)};_.tS=_.toString;function DB(){DB=u;EB={};FB={}}
function vr(a){DB();var b=nb+a,c=FB[b];if(null!=c)return c;c=EB[b];if(null==c){var d,e,f,c=0;e=a.length;f=e-4;for(d=0;d<f;)c=a.charCodeAt(d+3)+31*(a.charCodeAt(d+2)+31*(a.charCodeAt(d+1)+31*(a.charCodeAt(d)+31*c)))|0,d+=4;for(;d<e;)c=31*c+zB(a,d++);c|=0}256==GB&&(EB=FB,FB={},GB=0);++GB;return FB[b]=c}var EB,GB=0,FB;function Em(a,b){Fm(a.b,b);return a}function Dm(){this.b=new nn}function HB(){this.b=new nn;this.b.b+=j}s(442,1,Kh,Dm,HB);_.tS=function(){return this.b.b};function tr(){this.b=new nn}
function Xz(){this.b=new nn}function qq(a){this.b=new nn;Fm(this.b,a)}s(443,1,Kh,tr,Xz,qq);_.tS=function(){return this.b.b};function $z(a){a="String index out of range: "+a;Lm();this.i=a}s(444,433,$g,$z);
function IB(a,b,c){var d=0,e=0,f,g,h,i,l;if(null==a||null==b)throw new Im;i=a.cZ;g=b.cZ;if(0==(i.c&4)||0==(g.c&4))throw new hB("Must be array types");h=i.b;f=g.b;if(!(0!=(h.c&1)?h==f:0==(f.c&1)))throw new hB("Array types must match");l=a.length;f=b.length;if(0>d||0>e||0>c||d+c>l||e+c>f)throw new Dt;if((0==(h.c&1)||0!=(h.c&4))&&i!=g)if(a===b&&d<e){d+=c;for(c=e+c;c-- >e;)Iq(b,c,a[--d])}else for(c=e+c;e<c;)Iq(b,e++,a[d++]);else Array.prototype.splice.apply(b,[e,c].concat(a.slice(d,d+c)))}
function kt(){Lm()}function gA(a){Lm();this.i=a}s(446,97,$g,kt,gA);function Lx(a,b){for(var c;a.Hc();)if(c=a.Ic(),null==b?null==c:Rm(b,c))return a;return null}function Ox(a,b){var c;return(c=Lx(a.gd(),b))?(c.Jc(),!0):!1}function JB(a){var b,c,d,e;d=new Dm;b=null;d.b.b+=Xc;for(c=a.gd();c.Hc();)null!=b?Fm(d.b,b):b=Ca,e=c.Ic(),Fm(d.b,e===a?"(this Collection)":j+e);d.b.b+=Zc;return d.b.b}s(447,1,{});_.Ee=function(){throw new gA("Add not supported on this collection");};
_.Fe=function(a){return!!Lx(this.gd(),a)};_.fe=function(){return 0==this.ie()};_.Ge=function(a){return Ox(this,a)};_.tS=function(){return JB(this)};s(449,447,qh);_.eQ=function(a){var b;if(a===this)return!0;if(!y(a,125)||a.ie()!=this.ie())return!1;for(a=a.gd();a.Hc();)if(b=a.Ic(),!this.Fe(b))return!1;return!0};_.hC=function(){var a,b,c;a=0;for(b=this.gd();b.Hc();)c=b.Ic(),null!=c&&(a+=Um(c),a=~~a);return a};
function KB(a,b){var c;return y(b,123)&&(c=b.He(),Us(a.b,c))?(c=si(a.b,c),a.b.je(b.Ie(),c)):!1}function kA(a){this.b=a}s(448,449,qh,kA);_.Fe=function(a){return KB(this,a)};_.gd=function(){return new cA(this.b)};_.Ge=function(a){return KB(this,a)?(a=a.He(),ci(this.b,a),!0):!1};_.ie=function(){return this.b.e};_.b=null;function eA(a){if(a.c)Xh(a.b),ci(a.d,a.c.He()),a.c=null;else throw new nt("Must call next() before remove().");}
function cA(a){var b;this.d=a;b=new pi;a.d&&ii(b,new LB(a));var c=a.f,d;for(d in c)if(58==d.charCodeAt(0)){var e=new MB(a,d.substring(1));b.Ee(e)}var a=a.b,f;for(f in a)if(c=parseInt(f,10),f==c){c=a[c];d=0;for(e=c.length;d<e;++d)b.Ee(c[d])}this.b=new Uh(b)}s(450,1,{},cA);_.Hc=function(){return dA(this.b)};_.Ic=function(){return this.c=Vh(this.b)};_.Jc=function(){eA(this)};_.b=null;_.c=null;_.d=null;s(452,1,Gh);_.eQ=function(a){return y(a,123)&&fA(this.He(),a.He())&&fA(this.Ie(),a.Ie())?!0:!1};
_.hC=function(){var a,b;b=a=0;null!=this.He()&&(a=Um(this.He()));null!=this.Ie()&&(b=Um(this.Ie()));return a^b};_.tS=function(){return this.He()+sb+this.Ie()};function LB(a){this.b=a}s(451,452,Gh,LB);_.He=function(){return null};_.Ie=function(){return this.b.c};_.Je=function(a){return hA(this.b,a)};_.b=null;function MB(a,b){this.c=a;this.b=b}s(453,452,Gh,MB);_.He=function(){return this.b};_.Ie=function(){return this.c.f[nb+this.b]};_.Je=function(a){return iA(this.c,this.b,a)};_.b=null;_.c=null;
function Cu(a,b){(0>a||a>=b)&&NB(a,b)}function NB(a,b){throw new Fu("Index: "+a+", Size: "+b);}s(454,447,Yg);_.Ke=function(){throw new gA("Add not supported on this list");};_.Ee=function(a){this.Ke(this.ie(),a);return!0};_.eQ=function(a){var b,c,d;if(a===this)return!0;if(!y(a,121)||this.ie()!=a.ie())return!1;c=this.gd();for(d=a.gd();c.Hc();)if(a=c.Ic(),b=d.Ic(),!(null==a?null==b:Rm(a,b)))return!1;return!0};
_.hC=function(){var a,b,c;b=1;for(a=this.gd();a.Hc();)c=a.Ic(),b=31*b+(null==c?0:Um(c)),b=~~b;return b};_.gd=function(){return new Uh(this)};_.Me=function(){return this.Ne(0)};_.Ne=function(a){return new OB(this,a)};_.Oe=function(){throw new gA("Remove not supported on this list");};function dA(a){return a.c<a.e.ie()}function Vh(a){if(a.c>=a.e.ie())throw new Gt;return a.e.Le(a.d=a.c++)}function Xh(a){if(0>a.d)throw new Vu;a.e.Oe(a.d);a.c=a.d;a.d=-1}function Uh(a){this.e=a}s(455,1,{},Uh);_.Hc=function(){return dA(this)};
_.Ic=function(){return Vh(this)};_.Jc=function(){Xh(this)};_.c=0;_.d=-1;_.e=null;function OB(a,b){var c;this.e=this.b=a;c=a.ie();(0>b||b>c)&&NB(b,c);this.c=b}s(456,455,{},OB);_.Pe=function(){return 0<this.c};_.Qe=function(){if(0>=this.c)throw new Gt;return this.b.Le(this.d=--this.c)};_.b=null;function PB(a){a=new cA(a.c.b);return new QB(a)}function RB(a,b){this.b=a;this.c=b}s(457,449,qh,RB);_.Fe=function(a){return Us(this.b,a)};_.gd=function(){return PB(this)};_.ie=function(){return this.c.b.e};
_.b=null;_.c=null;function QB(a){this.b=a}s(458,1,{},QB);_.Hc=function(){return dA(this.b.b)};_.Ic=function(){return(this.b.c=Vh(this.b.b)).He()};_.Jc=function(){eA(this.b)};_.b=null;s(459,454,Yg);_.Ke=function(a,b){var c;c=Rx(this,a);var d=c.e;new Mx(b,c.c);++d.c;++c.b;c.d=null};_.Le=function(a){var b;b=Rx(this,a);try{return Sx(b)}catch(c){c=$h(c);if(y(c,124))throw new Fu("Can't get element "+a);throw c;}};_.gd=function(){return Rx(this,0)};
_.Oe=function(a){var b,c;b=Rx(this,a);try{c=Sx(b)}catch(d){d=$h(d);if(y(d,124))throw new Fu("Can't remove element "+a);throw d;}SB(b);return c};function TB(a){a.c=v(Fy,k,0,0,0)}function hx(a,b,c){(0>b||b>a.d)&&NB(b,a.d);a.c.splice(b,0,c);++a.d}function ii(a,b){Iq(a.c,a.d++,b);return!0}function ji(a){a.c=v(Fy,k,0,0,0);a.d=0}function hs(a,b){Cu(b,a.d);return a.c[b]}function Oi(a,b){for(var c=0;c<a.d;++c)if(fA(b,a.c[c]))return c;return-1}
function ks(a,b){var c;c=(Cu(b,a.d),a.c[b]);a.c.splice(b,1);--a.d;return c}function hi(a,b){var c;c=Oi(a,b);if(-1==c)return!1;ks(a,c);return!0}function Qj(a,b){var c;if(b.length<a.d){c=b;var d;d=Bq(0,a.d);D(c.cZ,c.cM,c.qI,d);b=d}for(c=0;c<a.d;++c)Iq(b,c,a.c[c]);b.length>a.d&&Iq(b,a.d,null);return b}function pi(){TB(this)}function Ey(a){TB(this);this.c.length=a}
function Dx(a){TB(this);var b=this.c,c=a.c,a=c.slice(0,a.d);D(c.cZ,c.cM,c.qI,a);Array.prototype.splice.apply(b,[0,0].concat(a));this.d=this.c.length}s(460,454,uh,pi,Ey,Dx);_.Ke=function(a,b){hx(this,a,b)};_.Ee=function(a){return ii(this,a)};_.Fe=function(a){return-1!=Oi(this,a)};_.Le=function(a){return hs(this,a)};_.fe=function(){return 0==this.d};_.Oe=function(a){return ks(this,a)};_.Ge=function(a){return hi(this,a)};_.ie=function(){return this.d};_.d=0;
function Qx(a,b){var c=a.length,d;for(d=0;d<c;++d)Iq(a,d,b)}function mq(){mq=u;nq=new UB}var nq;function UB(){}s(463,454,ph,UB);_.Fe=function(){return!1};_.Le=function(){throw new Dt;};_.ie=function(){return 0};function VB(){this.b=new Date}function WB(a){return 10>a?cb+a:j+a}s(464,1,{106:1,108:1,109:1,120:1},VB);_.eQ=function(a){return y(a,120)&&hr(H(this.b.getTime()),H(a.b.getTime()))};
_.hC=function(){var a;a=H(this.b.getTime());var b,c,d,e;c=32;d=a.h&1048575;22>c?(e=d>>>c,b=a.m>>c|d<<22-c,c=a.l>>c|a.m<<22-c):44>c?(e=0,b=d>>>c-22,c=a.m>>c-22|a.h<<44-c):(b=e=0,c=d>>>c-44);b=Qq(c&4194303,b&4194303,e&1048575);a=Qq(a.l^b.l,a.m^b.m,a.h^b.h);return I(a)};
_.tS=function(){var a,b;b=-this.b.getTimezoneOffset();a=(0<=b?Aa:j)+~~(b/60);b=10>(0>b?-b:b)%60?cb+(0>b?-b:b)%60:j+(0>b?-b:b)%60;return(XB(),YB)[this.b.getDay()]+ca+ZB[this.b.getMonth()]+ca+WB(this.b.getDate())+ca+WB(this.b.getHours())+nb+WB(this.b.getMinutes())+nb+WB(this.b.getSeconds())+" GMT"+a+b+ca+this.b.getFullYear()};_.b=null;function XB(){XB=u;YB=D(Nq,k,1,"Sun,Mon,Tue,Wed,Thu,Fri,Sat".split(","));ZB=D(Nq,k,1,"Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec".split(","))}var YB,ZB;
function fq(a,b){return null==x(a.b,b,a)}function eq(){this.b=new Sh}s(466,449,{106:1,108:1,125:1},eq);_.Ee=function(a){return fq(this,a)};_.Fe=function(a){return Us(this.b,a)};_.fe=function(){return 0==this.b.e};_.gd=function(){return PB(new RB(this.b,new kA(this.b)))};_.Ge=function(a){return null!=ci(this.b,a)};_.ie=function(){return this.b.e};_.tS=function(){return JB(new RB(this.b,new kA(this.b)))};_.b=null;
function Rx(a,b){var c,d;(0>b||b>a.c)&&NB(b,a.c);if(b>=a.c>>1){d=a.b;for(c=a.c;c>b;--c)d=d.c}else{d=a.b.b;for(c=0;c<b;++c)d=d.b}return new $B(a,b,d)}function Vx(){this.b=new aC;this.c=0}s(467,459,ph,Vx);_.Ee=function(a){new Mx(a,this.b);++this.c;return!0};_.Ne=function(a){return Rx(this,a)};_.ie=function(){return this.c};_.b=null;_.c=0;function Sx(a){if(a.c==a.e.b)throw new Gt;a.d=a.c;a.c=a.c.b;++a.b;return a.d.d}
function SB(a){if(!a.d)throw new Vu;a.c==a.d?a.c=a.d.b:--a.b;var b=a.d;b.b.c=b.c;b.c.b=b.b;b.b=b.c=b;a.d=null;--a.e.c}function $B(a,b,c){this.e=a;this.c=c;this.b=b}s(468,1,{},$B);_.Hc=function(){return this.c!=this.e.b};_.Pe=function(){return this.c.c!=this.e.b};_.Ic=function(){return Sx(this)};_.Qe=function(){if(this.c.c==this.e.b)throw new Gt;this.d=this.c=this.c.c;--this.b;return this.d.d};_.Jc=function(){SB(this)};_.b=0;_.c=null;_.d=null;_.e=null;function aC(){this.b=this.c=this}
function Mx(a,b){this.d=a;this.b=b;this.c=b.c;b.c.b=this;b.c=this}s(469,1,{},aC,Mx);_.b=null;_.c=null;_.d=null;function jA(a,b){this.b=a;this.c=b}s(470,452,Gh,jA);_.He=function(){return this.b};_.Ie=function(){return this.c};_.Je=function(a){var b;b=this.c;this.c=a;return b};_.b=null;_.c=null;function Gt(){Lm()}s(471,97,{106:1,112:1,117:1,119:1,124:1},Gt);function fA(a,b){return Kq(a)===Kq(b)||null!=a&&Rm(a,b)}function Dy(a){var b=v(Wx,k,87,0,0);return Qj(a.b,b)}function rx(){this.b=new pi}
s(473,454,uh,rx);_.Ke=function(a,b){hx(this.b,a,b)};_.Ee=function(a){return ii(this.b,a)};_.Fe=function(a){return-1!=Oi(this.b,a)};_.Le=function(a){return hs(this.b,a)};_.fe=function(){return 0==this.b.d};_.gd=function(){return new Uh(this.b)};_.Oe=function(a){return ks(this.b,a)};_.ie=function(){return this.b.d};_.tS=function(){return JB(this.b)};_.b=null;function Po(a,b,c){a=new bC(b,c,a);if(!b.vd(a,c))for(b=b.Sb;b&&!b.vd(a,c);)b=b.Sb}
function wx(a,b,c){var d;d=new cC;Ci(d.r,b,c);vi(a.f,d.r,0,0);ii(a.b,d);return d}function DA(a,b){return!a.i?null:b in a.i?a.i[b]:null}function dC(a,b,c,d){b=b.b;if(b.p!=c||b.q!=d)a.f.jd(b.r,c,d),b.p=c,b.q=d;eC(b)}
function zA(a,b,c,d){this.pb=zu();this.b=new pi;this.i=d;this.pb.style[Kg]=0>b?gb:b+Kf;this.pb.style[De]=0>c?gb:c+Kf;this.f=new Mt;this.f.Xc(gb);this.f.Vc(gb);Ot(this,this.f);this.d=a;a.Fb=this;this.e=wx(this,b,c);this.e.i=!1;A(this,this,(Uo(),Uo(),Vo));A(this,new fC(this),(Dp(),Dp(),Ep));A(this,new gC(this),(Fi(),Fi(),Gi));A(this,new hC(this),(Hi(),Hi(),Ii));A(this,new iC(this),(pp(),pp(),qp));(Oo(),Oo(),ax).b=this}s(474,288,Xg,zA);_.c=!1;_.d=null;_.e=null;_.f=null;_.i=null;_.j=!1;
function fC(a){this.b=a}s(475,1,{},fC);_.ec=function(a){var b,c,d;c=Li(a);d=Mi(a);b=Ni(a.b);a=new jC(a);2==b&&(a.f=4);kC(this.b.d,a,c,d);this.b.j=!0};_.b=null;function gC(a){this.b=a}s(476,1,{},gC);
_.fc=function(a){var b,c,d;c=Li(a);d=Mi(a);b=new jC(a);if(this.b.j){var a=this.b.d,e,f;if(!a.x&&a.eb&&!lC(b)&&(a.gb=!1,c-=a.X,d-=2*a.X,e=c-a.Db,f=d-a.Eb,!(2==a.N||3==a.N||9==a.N))){if(1==a.N)b:{e=a.Y;b=c;f=d;var g,h,i,l,m,n,o;e.D=0;e.J[0]=b;e.M[0]=f;g=mC(e,0);if(0<g&&205!=e.n.c)e.D=g,g!=e.F?(e.J[e.t]=e.J[g],e.M[e.t]=e.M[g]):(e.J[e.t]=e.L,e.M[e.t]=e.O);else if(205==e.n.c){e.E=0;g=e.j[e.v];l=e.j[e.v-1];h=e.J[g]-e.J[l];i=e.M[g]-e.M[l];g=Math.sqrt(h*h+i*i);1>g&&(g=1);i/=g;h/=g;m=g/2/Math.tan(0.5235987755982988);
n=b-e.J[l];o=f-e.M[l];l=-g/2+n*h+o*i;i=o*h-n*i;if(0>l)if(1<e.v)nC(e,e.t),--e.v,e.C=!1;else if(2==e.t)0>e.M[2]-e.M[1]&&0<f-e.M[1]?e.M[2]=e.M[1]+g/2:0<e.M[2]-e.M[1]&&0>f-e.M[1]&&(e.M[2]=e.M[1]-g/2),0>e.J[2]-e.J[1]&&0<b-e.J[1]?e.J[2]=e.J[1]+0.866*g:0<e.J[2]-e.J[1]&&0>b-e.J[1]&&(e.J[2]=e.J[1]-0.866*g);else{if(2==e.z[e.j[0]]&&(m=e.G[e.j[0]][1],m==e.j[1]&&(m=e.G[e.j[0]][2]),h=e.J[e.j[0]]-e.J[m],i=e.M[e.j[0]]-e.M[m],g=Math.sqrt(h*h+i*i),1>g&&(g=1),i/=g,h/=g,n=b-e.J[m],o=f-e.M[m],b=o*h-n*i,n=e.J[e.j[1]]-
e.J[m],o=e.M[e.j[1]]-e.M[m],f=o*h-n*i,0<b&&0>f||0>b&&0<f))b=e.u,e.D=e.j[0],W(e,0),oC(e,b),0<mC(e,e.t)&&(e.C=!0)}else{if(e.C)break b;b=-1;l<1.5*g&&(b=(1.5*g-l)*m/(1.5*g));if((0>=i?0-i:i)>b){++e.v;if(100<e.v){yp(e.n,"You are too focused on chains, enough of it for now !");--e.v;break b}e.D=e.t;W(e,I(H(Math.round(i))));e.j[e.v]=e.t;0<mC(e,e.t)&&(e.C=!0)}}e.D=0;b=e.v;yp(e.n,b+j)}else h=b-e.J[e.F],i=f-e.M[e.F],g=Math.sqrt(h*h+i*i),1>g&&(g=1),e.J[e.t]=e.J[e.F]+25*(h/g),e.M[e.t]=e.M[e.F]+25*(i/g)}else if(pC(b)||
lC(b)){b=a.Y;f=v(qC,k,-1,4,1);rC(b,f);g=f[0];i=f[1];h=Math.sin(3.141592653589793*e/180);e=Math.cos(3.141592653589793*e/180);for(m=1;m<=b.t;++m)n=b.J[m]*e+b.M[m]*h,l=-b.J[m]*h+b.M[m]*e,b.J[m]=n,b.M[m]=l;rC(b,f);for(m=1;m<=b.t;++m)b.J[m]+=g-f[0],b.M[m]+=i-f[1];a.N=5}else if(0==a.Y.D&&0==a.Y.E){b=a.Y;for(g=1;g<=b.t;++g)b.J[g]+=e,b.M[g]+=f;i=v(qC,k,-1,4,1);rC(b,i);g=i[0];i=i[1];if(!(0<g&&g<b.n.A.c-b.n.X&&0<i&&i<b.n.A.b-3*b.n.X))for(g=1;g<=b.t;++g)b.J[g]-=e,b.M[g]-=f;a.N=5}a.B=!1;sC(a);a.ib=!0;FA(a);a.Db=
c;a.Eb=d}}else if(a=this.b.d,!a.x&&!lC(b)){c-=a.X;d-=2*a.X;f=!1;b=0;e=1;b:for(;e<=a.ob;++e){i=0;g=a.cb[e];l=n=m=o=l=h=void 0;h=0;n=51;for(m=1;m<=g.t;++m)l=c-g.J[m],o=d-g.M[m],l=l*l+o*o,50>l&&l<n&&(n=l,h=m);g=h;if(0==g){i=a.cb[e];l=n=m=o=l=h=void 0;h=0;n=51;for(m=1;m<=i.u;++m)l=c-i.K[m],o=d-i.N[m],l=l*l+o*o,50>l&&l<n&&(n=l,h=m);i=h}if(0<g){a.cb[e].D=g;a.cb[e].E=0;b=e;f=!0;break b}else if(0<i){a.cb[e].D=0;a.cb[e].E=i;b=e;f=!0;break b}else if(0<a.cb[e].D||0<a.cb[e].E)a.cb[e].D=0,a.cb[e].E=0,f=!0}if(f){for(e=
a.e+1;e<=a.ob;++e)a.cb[e].D=0,a.cb[e].E=0;a.B=!1;sC(a);a.ib=!0;FA(a)}0!=b&&b!=a.e&&(a.e=b,a.Y=a.cb[a.e])}this.b.pb.focus()};_.b=null;function hC(a){this.b=a}s(477,1,{},hC);
_.gc=function(){this.b.j=!1;var a=this.b.d;if(!a.x){a.gb=!1;if(1==a.N){if(205==a.c){var b=a.Y,c,d;b.C&&(c=mC(b,b.t),6>b.z[c]&&(tC(b),d=b.j[b.v-1],b.H[b.u]=c,b.I[b.u]=d,b.G[c][++b.z[c]]=d,b.G[d][++b.z[d]]=c),nC(b,b.t));b.C=!1;uC(a)}else b:{var b=a.Y,e,f;c=mC(b,b.t);if(0!=c){--b.t;for(f=1;f<b.u;++f)if(d=b.H[f],e=b.I[f],d==c&&e==b.F||d==b.F&&e==c){--b.u;--b.z[b.F];3>b.s[f]?(++b.s[f],b.B[f]=0):yp(b.n,"Maximum allowed bond order is 3 !");break b}6==b.z[c]?(--b.u,--b.z[b.F],yp(b.n,"Not possible connection !")):
(b.I[b.u]=c,b.G[c][++b.z[c]]=b.F,b.G[b.F][b.z[b.F]]=c,b.K[b.u]=I(H(yB((b.J[b.F]+b.J[c])/2))),b.N[b.u]=I(H(yB((b.M[b.F]+b.M[c])/2))))}}vC(a.Y)}else 5==a.N&&(vC(a.Y),uC(a));0<a.N&&(a.B=!1,sC(a),a.ib=!0,wC(a.Y),xC(a.Y),FA(a),a.N=0,a.f=!1)}};_.b=null;function iC(a){this.b=a}s(478,1,{},iC);var yC=_.b=null;function zC(){zC=u;yC=new qr((Fr(),new Er("")),4,4)}
function AC(){AC=u;BC={}}
function Jy(a){var b,c,d,e,f,g,h,i,l,m,n,o;b=Mh(a);if(b in BC)a=BC[b];else{c=$doc.getElementsByTagName("body")[0];d=$doc.createElement(gg);e=$doc.createElement(Ge);e.width=1;e.height=1;f=(zC(),yC);e.src=f.e.b;f=$doc.createTextNode("Q");var q;a&&(Ji(),d.style[ge]=a.c+Jf,q=a.b,q!=Pb&&(d.style[fe]=q),0!=(a.d&1)&&(d.style[ie]=pd),0!=(a.d&2)&&(d.style[he]=He));a=(d.appendChild(f),d.appendChild(e),c.appendChild(d),g=aj(d),h=aj(d)+(d.offsetHeight||0),i=h-g,l=aj(e)+(e.offsetHeight||0)+1,m=h-l,n=l-g,c.removeChild(d),
o=new CC,o.b=n,o.c=m,o.d=i,o);BC[b]=a}return a}function DC(){AC();var a,b,c,d,e;this.b=D(Nq,k,1,["monospace","sans-serif",eg]);this.d={};this.c={};Ji();this.e=$doc.getElementsByTagName("body")[0];this.f=$doc.createElement(gg);this.f.innerHTML=this.i||j;this.f.style[ge]="72.0px";for(b=this.b,c=0,d=b.length;c<d;++c)a=b[c],this.f.style[fe]=a,this.e.appendChild(this.f),e=this.f.offsetWidth||0,this.d[a]=e,this.c[a]=this.f.offsetHeight||0,this.e.removeChild(this.f)}s(481,1,{},DC);_.e=null;_.f=null;
_.i="mmmmmmmmmmlli";var BC;function CC(){}s(482,1,{},CC);_.b=0;_.c=0;_.d=0;function lC(a){return 0!=(a.f&4)?!0:a.b&&y(a.b,44)?!!a.b.b.metaKey:!1}function pC(a){return a.b&&y(a.b,44)?!!a.b.b.shiftKey:!1}function jC(a){sp.call(this,null,0,null);this.b=a}function bC(a,b,c){sp.call(this,a,0,b);this.b=c}s(483,372,Eh,jC,bC);_._d=function(){return lC(this)};_.ae=function(){return pC(this)};_.b=null;
function rz(a,b){var c;if(b in a.c)return a.c[b];c=a.b;var d=a.d,e;null==b||!b.length?c=0:(c.e.appendChild(c.f),c.f.innerHTML=b||j,d&&(Ji(),c.f.style[ge]=d.c+Jf,e=d.b,e!=Pb&&(c.f.style[fe]=e),0!=(d.d&1)&&(c.f.style[ie]=pd),0!=(d.d&2)&&(c.f.style[he]=He)),c.f.style[Jg]=xf,d=c.f.offsetWidth||0,c.e.removeChild(c.f),c=d);return a.c[b]=c}function qz(a){this.d=a;this.c={};this.b=new DC}s(484,375,Eh,qz);_.b=null;function xx(a){this.b=a}s(485,382,{},xx);_.b=null;function EC(a,b){this.b=a;this.c=b}
s(486,1,{},EC);_.b=null;_.c=null;function FC(){FC=u;var a=GC=new DC;Ji();a.i="9p";a.f.style[fe]=eg;a.f.style[ge]="144.0pt";a.f.innerHTML=a.i||j;a.e.appendChild(a.f);a.e.removeChild(a.f);a.f.style[ge]="144.0px";a.e.appendChild(a.f);a.e.removeChild(a.f)}function HC(a,b){a.n=!0;if(a.i){a.k&&(a.c.length=0,a.k=!1);var c=a.c;c[c.length]=b}else c=a.c,c[c.length]=b,eC(a)}
function IC(a,b,c,d,e,f,g){var h,i,l,m,n,o,q,w,F,z,J;JC(a,!1);360<=g||-360>=g?h=KC(a,b,c,d,e):h=(i=f+g,l=0,i<f&&(l=1),m=0,(180<g||-180>g)&&(m=1),n=b+d/2,o=c+e/2,q=d/2,w=e/2,F=LC(n,o,q,w,f),z=LC(n,o,q,w,i),J="<g"+a.j+tb,J+='<path d ="M '+F.b+ca+F.c+" A "+q+ca+w+" 0 "+m+ca+l+ca+z.b+ca+z.c+'"/>',J+="</g>",J);HC(a,h)}function X(a,b,c,d,e){HC(a,rb+b+ja+c+ha+d+ka+e+ga+a.e+ea+a.b+bb)}function MC(a,b,c,d,e){JC(a,!1);HC(a,'<rect x="'+b+la+c+fa+e+'" width="'+d+da+a.j+bb)}
function NC(a,b,c,d){var e,b=b.replace(/&/g,ra).replace(/</g,ta).replace(/>/g,sa),b=(e=a.e,'<text x="'+c+la+d+ea+a.f+' fill="'+e+ma+b+"</text>");HC(a,b)}function Uy(a,b,c,d,e){JC(a,!0);HC(a,'<rect x="'+b+la+c+fa+e+'" width="'+d+da+a.j+bb)}
function eC(a){var b,c,d;a.n&&(b=a.c.join(aa),b=(c=Zi(a.r.pb)+(a.r.pb.offsetWidth||0)-Zi(a.r.pb),d=aj(a.r.pb)+(a.r.pb.offsetHeight||0)-aj(a.r.pb),'<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="'+c+fa+d+ma)+b+"</svg>",b!==a.o&&(a.r.pb.innerHTML=b||j,a.o=b),a.k=!0,a.n=!1)}function Y(a,b){(a.d=b)&&(a.e=Tf+(b.b>>16&255)+Ba+(b.b>>8&255)+Ba+(b.b&255)+ya)}
function OC(a,b){var c,d,e;a.f=(c=b.c,d=b.b,e=j,12!=c&&(e=' font-size="'+c+'pt"'),"Plain"!=d&&(e+=' font-family="'+d+da),0!=(b.d&1)&&(e+='font-weight="bold"'),0!=(b.d&2)&&(e+='font-style="italic"'),e)}s(487,378,{});_.c=null;_.d=null;_.e="black";_.f=null;_.i=!0;_.j=null;_.k=!1;_.n=!1;_.o=j;_.p=0;_.q=0;_.r=null;var GC;
function PC(a){var b,c,d,e,f;Yi(a);d=(wi(),xi(null));e=new gv;dv(e,a);At(d,e,d.pb);f=a.Rc();b=a.Qc();c=(c=$wnd.navigator.userAgent.match(/MSIE\s+(\d+\.\d+)/))?parseFloat(c[1]):-1;9<=c?(++f,++b):7==c&&y(a,58)&&(c=a.pb.textContent,2>=c.length&&(f+=8));fv(e,a);Jt(d,e);return new Qw(f,b)}function QC(){this.pb=$doc.createElement(Zd);this.pb.style[Ef]=Ee;this.pb.style[Gf]=bd;this.pb.style[Kg]=gb;this.pb.style[De]=gb}s(489,269,Hh,QC);_.Oc=function(){return Zi(this.pb)};_.Pc=function(){return aj(this.pb)};
function LC(a,b,c,d,e){e*=0.017453292519943295;a+=c*Math.cos(e);b+=-d*Math.sin(e);return new EC(new tB(a),new tB(b))}function KC(a,b,c,d,e){return'<ellipse cx="'+(b+d/2)+'" cy="'+(c+e/2)+'" rx="'+d/2+'" ry="'+e/2+da+a.j+bb}function RC(a,b,c,d,e){var f,g,h,i;if(1>d)return j;g=d;e&&(d-=1,b[0]==b[d]&&c[0]==c[d]&&--g);d=' points="';for(f=0;f<g;++f)h=b[f],i=c[f],d+=h+Ba+i,f<g-1&&(d+=ca);d+=da;b=qb;e?b+="polygon":b+="polyline";return b+=d+a.j+bb}
function JC(a,b){var c;c=a.e;b?a.j=' stroke="none" fill="'+c+ea+a.b:a.j=' fill="none" stroke="'+c+ea+a.b}function cC(){FC();this.c=[];this.r=new QC}s(490,487,{},cC);_.b='shape-rendering="crispEdges"';function SC(){SC=u;TC=new Qw(0,0)}function UC(a){var b;b=a.Ue();if(!b){var c;(c=a.Re())?(b=PC(c.b),Ci(c.be(),b.c,b.b),c=PC(c.b),b=new Qw(c.c-b.c,c.b-b.b)):b=new Qw(0,0);a.Ye(b)}return b}
function dx(a,b){var c;if(a.fe())return TC;if(-1!=a.f.c&&-1!=a.f.b)return a.f;a.Xe(Iw(b));c=PC(a.be());a.f.c=c.c;a.f.b=c.b;return c}function VC(a,b){var c;b&&(c=Tf+(b.b>>16&255)+Ba+(b.b>>8&255)+Ba+(b.b&255)+ya,a.Te().pb.style[jd]=c)}function WC(){this.f=new wy;this.f.b=-1;this.f.c=-1}s(492,1,{});_.Re=function(){return null};_.Se=function(a){this.We(a.xd())};_.Te=function(){return this.be()};_.Ue=function(){return XC};_.od=function(){};_.fe=function(){return!1};_.Ve=function(a){this.Xe(Iw(a))};
_.We=function(a){VC(this,a)};_.Xe=function(a){var b=this.be().pb,c,d,e;c=(nx(),ox);e=a.c;d=a.b;e!=c.c?b.style[ge]=j+e+Jf:b.style[ge]=j;d!=c.b?b.style[fe]=d:b.style[fe]=j;0!=(a.d&1)?b.style[ie]=pd:b.style[ie]=j;0!=(a.d&2)?b.style[he]=He:b.style[he]=j};_.Ye=function(a){XC=a};_.Ze=function(){};var XC=_.f=null,TC;function $x(a,b){SC();WC.call(this);this.b=new su(a);this.b.Sc()[zd]=j;A(this.b,new YC(this,b),(Ro(),Ro(),So))}s(491,492,{},$x);_.be=function(){return this.b};_.We=function(a){VC(this,a)};
_.b=null;function YC(a,b){this.b=a;this.c=b}s(493,1,{},YC);_.vc=function(a){Oo();Po(a,this.c,this.b.b.pb.textContent)};_.b=null;_.c=null;function dy(a){SC();WC.call(this);this.b=new sv;A(this.b,new ZC(this,a),(Lo(),Lo(),Mo))}s(494,492,{},dy);_.be=function(){return this.b};_.b=null;function ZC(a,b){this.b=a;this.c=b}s(495,1,{},ZC);_.b=null;_.c=null;function $C(a,b){var c,d;VC(a,b.xd());for(d=new Uh(b.Gb.b);d.c<d.e.ie();)c=Vh(d),c.Xb&&c.Tb.Se(c)}
function aD(a,b){var c,d,e,f,g,h,i;Ci(a.e,b.Ed(),b.Ad());for(d=new Uh(b.Gb.b);d.c<d.e.ie();)c=Vh(d),c.Xb&&(e=c.Tb,e.Ve(c),h=c.Fd(),i=c.Gd(),g=c.Ed(),f=c.Ad(),0<g&&0<f&&(c=e.be(),g-=UC(e).c,f-=UC(e).b,Ci(e.be(),g,f),!c.ob&&a.e.hd(c),a.e.jd(c,h,i)))}function sx(){SC();WC.call(this);this.e=new Mt}s(496,492,{},sx);_.Se=function(a){$C(this,a)};_.be=function(){return this.e};_.Ve=function(a){aD(this,a)};_.e=null;
function dz(a){SC();WC.call(this);var b=this.b=new Ru;xu(b.c,a,!1);Ju(b);this.f.b=-1;this.f.c=-1}s(497,492,{},dz);_.be=function(){return this.b};_.fe=function(){var a;a=(this.b.c.d?qn(this.b.c.b):this.b.c.b).textContent;return null==a||0==a.length};_.b=null;function gz(a){this.b=new Mv(a.i,new bD(a))}s(498,1,{},gz);_.b=null;
function Iv(a){var b;b=new Lz(a.b,null!=a.b.d?a.b.d:a.b.i);a=(Oo(),Oo(),ax).b;a.j=!1;if(a=a.d)b=b.b,C(b,(cD(),dD).c)?tp(YA(a)):C(b,eD.c)?tp(up(a)):C(b,fD.c)?(b=a.t,b.b=new vp(a),wp(),xp(b)):VA(a,b)}function bD(a){this.b=a}s(499,1,Dh,bD);_.hc=function(){Iv(this)};_.b=null;function xz(){SC();WC.call(this);this.b=new kw}s(500,492,{},xz);_.Re=function(){var a;a=new xz;gw(a.b,"123456789");a.f.b=-1;a.f.c=-1;return a};_.be=function(){return this.b};_.Ue=function(){return gD};_.Ye=function(a){gD=a};
var gD=_.b=null;s(501,496,{});function hD(a){var b;b=new ep(on(a.pb,Bf),on(a.pb,Af));a=new ep(on(a.T.jb.pb,Bf),on(a.T.jb.pb,Af));return D(E,r,-1,[b.c-a.c,b.b-a.b])}function iD(a){if(null!=a.R&&null!=a.Q){var b=a.Q;a.Xc(a.R);a.Vc(b);a.R=a.Q=null}else null!=a.R?(jD(a,a.R),a.R=null):null!=a.Q&&(kD(a,a.Q),a.Q=null);Pi(a.S)}function lD(a){a.kb?a.bf(hp(a.T.jb)):(a.rd(),lD(a))}function kD(a,b){var c;a.kb?(c=hD(a),a.bf(new ep(-1,mD(b,!1)-c[1]))):a.Q=b}
function nD(a,b){var c;b!=a.md()&&(c=a.T.jb,st(c),oD(c,b,c.pb,c.q.d,!0))}function jD(a,b){var c;a.kb?(c=hD(a),a.bf(new ep(mD(b,!0)-c[0],-1))):a.R=b}s(504,271,oh);_.$e=function(){var a,b;b=hp(this.T.jb);a=hD(this);b.c+=a[0];b.b+=a[1];return b};_.md=function(){var a;a=this.T.jb;return 0!=a.q.d?pD(xw(a.q,0)):null};_._e=function(a){qD(this.T.jb,a)};_.gd=function(){return new tt(this.T.jb)};_.af=function(){lp(this.T.jb)};_.bd=function(){iD(this)};_.ud=function(){lp(this.T.jb)};
_.dd=function(a){return rD(this.T.jb,a)};_.bf=function(a){jp(this.T.jb,a)};_.Vc=function(a){kD(this,a)};_.nd=function(a){nD(this,a)};_.Xc=function(a){jD(this,a)};_.Q=null;_.R=null;function sD(){sD=u;var a=(tD(),uD(),vD);wD=new iv(a.e,a.c,a.d,a.f,a.b)}function xD(a,b){if(0!=a.I.b.q.d&&pD(xw(a.I.b.q,0)))throw new nt("WindowPanel can only contain one child widget");yD(a,b)}
function zD(a){try{a.w=!1;var b,c,d;d=a.hb;c=a.ab;d||(a.pb.style[Hg]=Ee,a.ab=!1,a.rd());b=a.pb;b.style[Me]=0+(Ji(),Kf);b.style[vg]=db;AD(a,Ui(sn($doc)+(Di()-on(a.pb,Bf)>>1),0),Ui(tn($doc)+(Ei()-on(a.pb,Af)>>1),0));d||((a.ab=c)?(a.pb.style[Cd]=Rf,a.pb.style[Hg]=Ig,tj(a.gb,200)):a.pb.style[Hg]=Ig)}finally{a.w=!0}}
function BD(a,b){var c;if(a.w){c=new Ks;a.mb&&cq(a.mb,c);a.J&&ip(a.r,a);try{bi(a.r.d,a)}catch(d){if(d=$h(d),!y(d,112))throw d;}a.n=CD(a.r,a);try{Tt(a,b)}finally{ei(a.t.b),ei(a.s.b),ei(a.u.b),a.P&&hi(a.P,a.r),a.C&&(a.C=!1)}}else Tt(a,b)}function DD(a,b,c){var d,e;e=a.ob;d=new Ri(a,e);e.jd(a,d.b+b,d.e+c)}function ED(a,b,c){b=new FD(rn(qn(Rs(Rs(a.T.d,b),c))));rt(b,a);A(b,a.o,(Ro(),Ro(),So));return b}function gp(a,b){a.J&&(0<=b.c&&(a.q=b.c),0<=b.b&&(a.p=b.b));jp(a.T.jb,b)}
function AD(a,b,c){var d,e;(e=a.r)?(d=GD(e.pb),Wt(a,b+(Zi(e.pb)+d[3]),c+(aj(e.pb)+d[0]))):Wt(a,b,c)}function Ry(a,b){a.J!=b&&(a.J=b,a.hb&&(b?kp(a.r,a):ip(a.r,a)))}function yD(a,b){if(b!=(0!=a.I.b.q.d?pD(xw(a.I.b.q,0)):null)){st(a.I.b);var c=a.I.b;oD(c,b,c.pb,c.q.d,!0)}}
function HD(a,b){var c;if(a.O!=b){c=a.O;a.O=b;a.kb&&c==(bp(),ID)&&(a.O=a.G);var d,e;if(a.P)for(e=new Uh(a.P);e.c<e.e.ie();)if(d=Vh(e),b==(bp(),JD)){!d.c&&(d.c=new KD);d=a;var f=c,g=void 0,h=void 0;if(d.J&&f==(bp(),cp))g=d.r,h=d.F,d.I.d?(AD(d,h.d,h.e),gp(d,new ep(h.c,-1))):(AD(d,h.d,h.e),gp(d,new ep(h.c,h.b)),kp(g,d)),Yh(g.d,d,d.I.c),yj(d.z,333);else if(!d.C&&f==(bp(),ID))d.pb.style[Hg]=Ig,bp()}else if(b==cp){!d.c&&(d.c=new KD);d=a;var f=c,i=h=g=void 0;if(d.J){h=d.r;g=GD(h.pb);i=d.F;if(d.I.d)i.d=Zi(d.pb)-
g[3]-Zi(h.pb),i.e=aj(d.pb)-g[0]-aj(h.pb),d.F=i,AD(d,0,0),LD(d,dp(h.pb).c,-1);else{if(f!=(bp(),ID))i.d=Zi(d.pb)-g[3]-Zi(h.pb),i.e=aj(d.pb)-g[0]-aj(h.pb),i.c=d.q,i.b=d.p,d.F=i;AD(d,0,0);jp(d,new MD(dp(h.pb)));ip(h,d)}d==d.r.b||ND(d);yj(d.z,333)}}else b==ID&&(!d.c&&(d.c=new KD),d=a,d.C||(d.G=c,d.pb.style[Hg]=Ee))}}function OD(a,b){a.pb.style[Mg]=b+1E4+(a.C?1E3:0)+j;(a.C||a.bb)&&null.kf().kf()}
function PD(a){if(!a.kb){a.t=lt(a,a.r,(!Op&&(Op=new Kj),Op));a.s=lt(a,a.r,Jj?Jj:Jj=new Kj);a.u=lt(a,a.r,(!Tp&&(Tp=new Kj),Tp));var b=a.r;!a.P&&(a.P=new pi);ii(a.P,b);Op&&(b=new Np(a),a.mb&&cq(a.mb,b));a.J&&kp(a.r,a);Yh(a.r.d,a,a.I.c);a.n&&(Wt(a,a.n.b,a.n.c),a.n=null);Xt(a);ND(a)}}function ND(a){if(a!=a.r.b){var b;Tp&&(b=new Sp(a),a.mb&&cq(a.mb,b))}}
function QD(a,b,c){var d=(du(),eu);Yt.call(this,!1,"popup");this.U=d.b;this.S=new RD(this);d=new SD;d.pb[zd]="mosaic-popupLayoutPanel";Qt(this.T,d);Vt(this);this.o=new TD(this);this.z=new UD(this);this.A=new VD(this);this.B=new WD(this);this.F=new XD;this.O=(bp(),JD);this.J=c;this.r=a;a=this.I=new YD(b);b=new ZD;!a.e&&(a.e=new $D);ii(a.e,b);a=new aE(new kv(wD.b.e.b,wD.b.c,wD.b.d,wD.b.f,wD.b.b));A(a,new bE(this),(Ro(),Ro(),So));b=this.I.c;b.c||(b.c=new gv,b.c.Sc()[zd]="mosaic-Caption-iconBoxRight",
c=b.c,d=($u(),av),c.d=d,c=b.i,cE(c,b.c,new dE(2),c.q.d));if(0<b.c.q.d){c=b.c;if(0>c.q.d)throw new Dt;d=ev(c);Zs(c.c,(ms(),ns(d)),0);Ct(c,a,d,0,!1)}else dv(b.c,a);qD(b.i,null);A(this.I.c,new eE(this),(Zo(),Zo(),$o));A(this.I.c,this.o,So);nD(this,this.I);Wh(rn(qn(this.pb)),"mosaic-WindowPanel",!0)}s(503,504,oh);_.md=function(){return 0!=this.I.b.q.d?pD(xw(this.I.b.q,0)):null};_.pd=function(a){BD(this,a)};_.gd=function(){return new tt(this.I.b)};_.bd=function(){iD(this);Pi(new fE(this))};
_.dd=function(a){return rD(this.I.b,a)};_.bf=function(a){gp(this,a)};_.qd=function(a,b){AD(this,a,b)};_.nd=function(a){yD(this,a)};_.rd=function(){PD(this)};_.n=null;_.p=0;_.q=0;_.r=null;_.s=null;_.t=null;_.u=null;_.v=null;_.w=!0;_.x=null;_.y=null;_.C=!1;_.D=null;_.E=null;_.G=null;_.H=null;_.I=null;_.J=!1;_.K=null;_.L=null;_.M=null;_.N=null;_.P=null;var wD;function gE(a){a.i=(new Zx(a.j)).Tb.be();A(a.i,new hE(a),(Ro(),Ro(),So));a.e=D(iE,k,58,[a.i])}
function jE(){sD();var a,b,c,d,e,f;QD.call(this,(kE(),lE),null,!0);this.ef();this.db=!0;a=new Tu(this.k);this.f=new jw;this.f.pb.style[Kg]=gb;this.f.pb.style[De]=gb;this.cf();jD(this,"400px");f=new ww;f.pb.style[De]=gb;f.f[vd]=10;c=(Mu(),Xu);f.b=c;vw(f,a);vw(f,this.f);e=new gv;e.f[vd]=20;for(b=this.e,c=0,d=b.length;c<d;++c)a=b[c],dv(e,a);vw(f,e);xD(this,f);Ry(this,!1);this.df()}s(502,503,oh,jE);_.cf=function(){gE(this)};
_.df=function(){var a=this.f;a.pb.readOnly=!0;var b=gt(a.pb)+"-readonly";Wh(a.Sc(),b,!0)};_.ef=function(){Qy(this.I.c,"Copy")};_.e=null;_.f=null;_.i=null;_.j="Close";_.k="Press Ctrl-C (Command-C on Mac) or right click (Option-click on Mac) on the selected text to copy it, then paste into another program.";function hE(a){this.b=a}s(505,1,{},hE);_.vc=function(){BD(this.b,!1)};_.b=null;function mE(a){this.b=a}s(506,1,{},mE);
_.hc=function(){jt(this.b.f.pb,!0);this.b.f.pb.focus();var a=this.b.f,b;b=pn(a.pb,Fg).length;if(0<b&&a.kb){if(0>b)throw new Fu("Length must be a positive integer. Length: "+b);if(b>pn(a.pb,Fg).length)throw new Fu("From Index: 0  To Index: "+b+"  Text Length: "+pn(a.pb,Fg).length);try{a.pb.setSelectionRange(0,0+b)}catch(c){}}};_.b=null;function zz(){new eq}s(507,398,{},zz);function nE(a){sD();jE.call(this);this.d=a}s(508,502,oh,nE);
_.cf=function(){gE(this);this.b=(new Zx(this.c)).Tb.be();A(this.b,new oE(this),(Ro(),Ro(),So));this.e=D(iE,k,58,[this.b,this.i])};_.df=function(){this.f.pb.style[De]="350px"};_.ef=function(){this.j="Cancel";this.k="Paste the text to import into the text area below.";this.c="Accept";Qy(this.I.c,"Paste")};_.rd=function(){PD(this);dn((an(),bn),new pE(this))};_.b=null;_.c=null;_.d=null;function oE(a){this.b=a}s(509,1,{},oE);
_.vc=function(){if(this.b.d){var a=this.b.d,b;b=new Lz(a.b,pn(this.b.f.pb,Fg));a=a.b.b;b=b.b;if(null!=b){var c=a.b.vb,d,e,f,g;if(null!=b&&(d=CB(b,"\\$\\$\\$\\$\n?"),!(1>=d.length)))for(f=0,g=d.length;f<g;++f)e=d[f],Iq(c.c,c.d++,e);b=BB(b);try{qE(a.b,b)?(yp(a.b,"Structure pasted"),uC(a.b)):(OA(new PA(a.b.I,a.b,QA)),UA(a.b)),FA(a.b)}catch(h){if(h=$h(h),y(h,112))b=a.b,b.gb=!0,b.I="ERROR - invalid MOL ",OA(new PA(a.b.I,a.b,QA)),FA(a.b);else throw h;}}}BD(this.b,!1)};_.b=null;function pE(a){this.b=a}
s(510,1,{},pE);_.hc=function(){jt(this.b.f.pb,!0);this.b.f.pb.focus()};_.b=null;function xp(a){a&&a&&(a=new rE(a),a=new nE(a),lD(a),zD(a))}function rE(a){this.b=a}s(512,1,{},rE);_.b=null;function Sy(a,b){SC();sx.call(this);this.d=new sE(a);var c=this.c=new gv,d=(Mu(),Xu);c.b=d;dv(this.c,this.e);xD(this.d,this.c);this.d.b=this;this.b=b;var c=new tE(this),d=this.d,e=(!Rp&&(Rp=new Kj),Rp);Wp((!d.y&&(d.y=new uE),d.y),e,c)}s(513,501,{},Sy);_.be=function(){return this.d};_.Te=function(){return this.c.ob};
_.od=function(){BD(this.d,!1)};_.Xe=function(){};_.Ze=function(a){$C(this,a);aD(this,a);lD(this.d);PD(this.d)};_.b=null;_.c=null;_.d=null;function tE(a){this.b=a}s(514,1,{},tE);_.Cc=function(){};_.b=null;function sE(a){sD();QD.call(this,(kE(),lE),a,!1)}s(515,503,oh,sE);_.od=function(){var a=this.b,b=new Ly(a.b,201),c;a=a.b.p;a.b?a=new vE(new Uh(a.b)):(a=(mq(),mq(),nq),a=new Uh(a));for(;a.Hc();)c=a.Ic(),201==b.e&&wE(c.b)};_.b=null;function xE(a,b,c,d){b=Jw(b);c+=b.b;d+=b.c;Wt(a.b,c,d);Xt(a.b)}
function nz(){SC();WC.call(this);var a=this.b=new yE;a.ab=!0;a.b.i=!0;this.b.db=!0}s(516,492,{},nz);_.be=function(){return this.b};_.b=null;function Yz(){}s(522,414,{},Yz);function zE(a){a.Tb.d.hb&&Ky(a)}function wE(a){var b;if(a.Tb.d.hb){b=Jw(a);var c=a.i,d=b.c;c.b=b.b;c.c=d}My(a)}function OA(a){var b=a.i;AD(a.Tb.d,b.b,b.c);!Iw(a)&&mx(a);Xw(a)}function AE(){Py.call(this,j);this.f=new Zx(this.ff());Cx(this.p,new BE(this))}s(524,376,zh);
_.vd=function(a,b){return a.i==this.f?(wE(this),!0):this.gf(a,b)};_.ff=function(){return"Close"};_.gf=function(){return!1};_.od=function(){wE(this)};_.f=null;_.i=null;function PA(a,b,c){AE.call(this);this.Tb&&Ry(this.Tb.d,!1);Oy(this,!1);px(this,new Zy(0));a=new cz(a,1);L(this,a,null);a=new tx;L(a,this.f,null);L(this,a,null);b&&(this.i=Jw(b),Ny(this),Lw(this.i,~~(on(b.Fb.pb,Bf)/2)-~~(this.Yb/2),~~(on(b.Fb.pb,Af)/2)-~~(this.Ob/2)));c&&K(this,c)}s(523,524,zh,PA);_.ff=function(){return"OK"};
function JA(){this.b=this.c=new CE}s(525,1,{},JA);_.b=null;function CE(){this.b=null}function DE(a){this.b=a}s(526,1,{},CE,DE);_.b=null;_.c=null;_.d=null;function BE(a){this.b=a}s(527,406,{},BE);_.b=null;function EE(){EE=u;FE=D(Nq,k,1,["Copyright (c) 2013, Novartis Institutes for BioMedical Research Inc. and Bruno Bienfait.","All rights reserved."]);QA=(ey(),hy);GE=ry(QA);HA=v(HE,k,86,23,0);IA=v(Nq,k,1,23,0);IE=v(HE,k,86,7,0)}
function TA(a){var b;if(a.tb)b=JE(a,1)+tb+JE(a,2)+tb+JE(a,3);else if(b=JE(a,0),0<b.length){var c=new KE(a.Y);ii(a.$.b,c)}return b}
function LE(a,b,c,d){var e,f,g,h,i,l,m,n;if(!a.mb&&(h=c-b+1,!(0>=h||b>a.ob||c>a.ob))){e=v(qC,k,-1,4,1);l=v(qC,k,-1,99,1);g=n=m=0;for(f=b;f<=c;++f)rC(a.cb[f],e),m+=e[2],n+=e[3],e[3]>g&&(g=e[3]),l[f]=e[2],2==d&&(l[f]=e[3]);a.x&&(m+=25*(h+1),n+=25*(h+1),g+=25);(0==a.A.c||0==a.A.b)&&(a.A=yx(a));0==a.A.c&&(a.A.c=400);0==a.A.b&&(a.A.b=300);i=f=1;e=a.A.c;h=a.A.b;a.x||(e-=a.X,h-=3*a.X);1==d||3==d?e=~~((e-48)/2):2==d&&(h=~~(h/2));m>=e&&(f=e/m);g>=h&&(i=h/g);g=0;a.x&&(a.z=f<i?f:i,g=25*e/m,2==d&&(g=25*h/n));
for(f=b;f<=c;++f)2==d?l[f]=l[f]*h/n:l[f]=l[f]*e/m;m=-e/2;n=0;1==d?m=-e-24:3==d?m=24:2==d&&(m=0,n=-h);for(f=b;f<=c;++f){if(a.x){for(b=1;b<=a.cb[f].t;++b)a.cb[f].J[b]*=a.z,a.cb[f].M[b]*=a.z;ME(a.cb[f])}2==d?n+=l[f]/2+g:m+=l[f]/2+g;for(b=1;b<=a.cb[f].t;++b)a.cb[f].J[b]+=m,a.cb[f].M[b]+=n;2==d?n+=l[f]/2:m+=l[f]/2;a.x||vC(a.cb[f])}}}
function NE(a){var b;a.ib=!0;a.c=202;a.lb=!1;if(0!=a.ob){a.ib=!0;a.f=!0;for(b=a.e;b<a.ob;++b)a.cb[b]=a.cb[b+1];--a.ob;a.e=a.ob;0<a.ob?a.Y=a.cb[a.e]:(a.Y=new OE(a),a.Y.r=0)}}function BA(a,b){var c,d,e;e=new mz;c=Ic;d="MOL";b&&(c="SMIRKS",d="RXN");c=new fz(Ob+c);var f=(cD(),dD).c;c.d=f;lz(e,c);Cx(c.e,a);c=new fz(Ob+d);c.d=eD.c;Cx(c.e,a);lz(e,c);lz(e,new fz(Da));c=new fz("Paste "+d);c.d=fD.c;Cx(c.e,a);lz(e,c);Cw(a,e);return e}
function PE(a,b,c,d){var e,f,g;g=100*d+c;f=(c-1)*(a.X+a.Q);e=(d-1)*(a.X+a.Q);1==c&&2<d&&(e-=2*a.X);Y(b,QA);a.kb?(g==a.c&&Y(b,sy(QA)),Uy(b,f,e,a.X,a.X),Y(b,(ey(),jy)),MC(b,f,e,a.X-1,a.X-1)):g==a.c?Ty(b,f+1,e+1,a.X,a.X,!1):Ty(b,f,e,a.X,a.X,!0);if(!(1301==g&&!a.sb||112==g))if(107!=g||a.qb)if(201!=g||a.Ab)if(103!=g||a.fb)if(!(105==g&&!a.nb&&!a.q)&&(109!=g||a.tb))if(c=~~(a.X/4),3>d)switch(Y(b,(ey(),ky)),g){case 101:Y(b,ny);g=f+3;var d=e+3,c=a.X-6,h=a.X-6;JC(b,!0);HC(b,KC(b,g,d,c,h));Y(b,ky);g=f+3;d=e+
3;c=a.X-6;h=a.X-6;JC(b,!1);HC(b,KC(b,g,d,c,h));IC(b,f+6,e+6,a.X-12,a.X-12,-35,-110);Uy(b,f+9,e+9,2,4);Uy(b,f+a.X-10,e+9,2,4);0.04>Math.random()&&(Y(b,ly),Uy(b,f+10,e+18,4,4));0.96<Math.random()&&(Y(b,ny),Uy(b,f+a.X-10,e+8,2,3));break;case 112:QE(a,b,f,e,Qb);break;case 107:Y(b,my);Uy(b,f+4,e+4,a.X-8,a.X-8);Y(b,ky);MC(b,f+4,e+4,a.X-8,a.X-8);IC(b,f+6,e+6,a.X-11,a.X-12,-35,-110);Uy(b,f+9,e+9,2,4);Uy(b,f+a.X-10,e+9,2,4);break;case 108:g=~~(a.X/4);X(b,f+g,e+a.X-g,f+a.X-g,e+g);g=~~(a.X/2)-g;d=e+~~(2*a.X/
3);f+=~~(a.X/2);X(b,f,d,f+g,d);e+=~~(a.X/3);a=f-g;X(b,a,e,f,e);a=~~((a+f)/2);e-=~~(g/2);X(b,a,e,a,e+g);break;case 110:RE(b,f,e,a.X,!0);break;case 111:RE(b,f,e,a.X,!1);break;case 109:X(b,f+c,e+~~(a.X/2),f+a.X-c,e+~~(a.X/2));X(b,f+a.X-c,e+~~(a.X/2),f+a.X-~~(3*c/2),e+~~(a.X/2)+~~(c/2));X(b,f+a.X-c,e+~~(a.X/2),f+a.X-~~(3*c/2),e+~~(a.X/2)-~~(c/2));break;case 102:Y(b,fy);Uy(b,f+3,e+5,a.X-7,a.X-11);Y(b,ky);MC(b,f+3,e+5,a.X-7,a.X-11);break;case 103:Y(b,QA);a.lb&&Ty(b,f+1,e+1,a.X,a.X,!1);Y(b,ky);QE(a,b,f,
e,"NEW");break;case 106:Y(b,ly);X(b,f+7,e+7,f+a.X-7,e+a.X-7);X(b,f+8,e+7,f+a.X-6,e+a.X-7);X(b,f+7,e+a.X-7,f+a.X-7,e+7);X(b,f+8,e+a.X-7,f+a.X-6,e+7);Y(b,ky);X(b,f+c,e+~~(a.X/2),f+12,e+~~(a.X/2));QE(a,b,f+6,e,tc);break;case 104:Y(b,ly);X(b,f+7,e+7,f+a.X-7,e+a.X-7);X(b,f+8,e+7,f+a.X-6,e+a.X-7);X(b,f+7,e+a.X-7,f+a.X-7,e+7);X(b,f+8,e+a.X-7,f+a.X-6,e+7);Y(b,ky);break;case 105:a.zb?(Y(b,py),X(b,f+11,e+5,f+9,e+9),X(b,f+9,e+9,f+4,e+9),X(b,f+4,e+9,f+8,e+12),X(b,f+8,e+12,f+6,e+18),X(b,f+6,e+18,f+11,e+15),X(b,
f+12,e+5,f+14,e+9),X(b,f+14,e+9,f+19,e+9),X(b,f+19,e+9,f+15,e+12),X(b,f+15,e+12,f+17,e+18),X(b,f+17,e+18,f+12,e+15),Y(b,ky)):QE(a,b,f,e,"123");break;case 113:Y(b,qy);Uy(b,f+4,e+4,a.X-8,a.X-8);Y(b,ky);MC(b,f+4,e+4,a.X-8,a.X-8);SE(a,b,f+1,e-1,fy,"i");break;case 201:X(b,f+c,e+~~(a.X/2),f+a.X-c,e+~~(a.X/2)+2);X(b,f+c,e+~~(a.X/2),f+a.X-c,e+~~(a.X/2)-2);X(b,f+a.X-c,e+~~(a.X/2)+2,f+a.X-c,e+~~(a.X/2)-2);break;case 202:X(b,f+c,e+~~(a.X/2),f+a.X-c,e+~~(a.X/2));break;case 203:X(b,f+c,e+~~(a.X/2)-2,f+a.X-c,e+
~~(a.X/2)-2);X(b,f+c,e+~~(a.X/2)+2,f+a.X-c,e+~~(a.X/2)+2);break;case 204:X(b,f+c,e+~~(a.X/2),f+a.X-c,e+~~(a.X/2));X(b,f+c,e+~~(a.X/2)-2,f+a.X-c,e+~~(a.X/2)-2);X(b,f+c,e+~~(a.X/2)+2,f+a.X-c,e+~~(a.X/2)+2);break;case 205:X(b,f+~~(c/2),e+2*c+~~(c/3),f+3*~~(c/2),e+2*c-~~(c/3));a=rb+(f+3*~~(c/2))+ja+(e+2*c-~~(c/3))+ha+(f+5*~~(c/2))+ka+(e+2*c+~~(c/3))+ga+b.e+ea+b.b+bb;HC(b,a);e=rb+(f+5*~~(c/2))+ja+(e+2*c+~~(c/3))+ha+(f+7*~~(c/2))+ka+(e+2*c-~~(c/3))+ga+b.e+ea+b.b+bb;HC(b,e);break;case 206:TE(a,b,f,e+2,3);
break;case 207:TE(a,b,f,e,4);break;case 208:TE(a,b,f,e,5);break;case 209:TE(a,b,f,e,1);break;case 210:TE(a,b,f,e,6);break;case 211:TE(a,b,f,e,7);break;case 212:TE(a,b,f,e,8);break;case 213:QE(a,b,f,e,"FG"),a.E=new iz(f,e)}else d=3,301==g?d=3:401==g?d=4:501==g?d=5:601==g?d=8:701==g?d=9:801==g?d=10:901==g?d=11:1001==g?d=12:1101==g?d=7:1201==g?d=18:1301==g&&(d=19),null!=IA[d]&&SE(a,b,f,e,HA[d],IA[d])}
function UE(a){var b,c,d;a.gb&&(d=a.H.b,c=a.A.c-a.X,b=a.X,Y(d,QA),Uy(d,0,0,c,b),a.kb?(Y(d,(ey(),jy)),MC(d,-1,0,c,b-1)):(Y(d,GE),X(d,0,0,c-1-2,0),Y(d,sy(QA)),X(d,0,b-1,c-1,b-1),X(d,c-1,0,c-1,b-1)),OC(d,a.V),Y(d,(ey(),ky)),0==a.I.indexOf("E")&&Y(d,ly),NC(d,a.I,10,15),dC(a.Fb,a.H,a.X,a.A.b-a.X))}
function VE(a){var b,c,d,e;if(a.hb){d=a.O.b;c=a.X;b=a.A.b-2*a.X-a.Q;Y(d,QA);Uy(d,0,0,c,b);a.kb?(Y(d,(ey(),jy)),X(d,0,b-1,c,b-1),e=CA*(a.X+a.Q)+2,X(d,0,e,c,e),X(d,0,e,0,b),X(d,a.X-1,e,a.X-1,b-a.X)):(Y(d,GE),X(d,0,0,0,b-1),X(d,0,CA*a.X,b-1,CA*a.X),Y(d,sy(QA)),X(d,c-1,0,c-1,b-1-a.X),X(d,0,b-1,c-1,b-1));for(b=3;b<=CA+2;++b)PE(a,d,1,b);dC(a.Fb,a.O,0,2*a.X+a.Q)}}
function WE(a){var b,c,d,e;if(a.ib){e=a.bb.b;c=a.A.c-a.X;b=a.A.b-3*a.X-a.Q;Y(e,a.s);Uy(e,0,0,c,b);for(d=1;d<=a.ob;++d){var f=a.cb[d],g=e,h=void 0,i=void 0,l=void 0,m=void 0,n=void 0,o=l=void 0,q=void 0,w=void 0,F=w=n=m=void 0,z=o=void 0,J=m=q=n=h=void 0,N=m=h=void 0,S=i=n=i=void 0,$=w=z=void 0,M=$=q=o=l=z=m=q=F=J=o=void 0,M=i=o=n=n=J=M=S=h=N=N=F=S=o=o=N=S=void 0,w=z=1,l=2,$=3;f.w&&(ME(f),LE(f.n,1,f.n.ob,0),f.w=!1);1!=f.n.z&&(l*=f.n.z,$*=f.n.z,h=1,0.7>f.n.z&&(h=1.2),h=G(f.n.C*f.n.z*h),f.n.k=new Hy(Yb,
0,h),f.n.n=null);f.n.y&&(Y(g,(ey(),ky)),MC(g,0,0,f.n.A.c-1,f.n.A.b-1));if(0!=f.t){if(-1==f.k){m=I(H(Math.round(12*l)));for(h=1;h<=f.t;++h)0<f.c[h]&&7>f.c[h]&&(Y(g,(EE(),IE)[f.c[h]]),i=g,n=G(f.J[h]-m/2),N=G(f.M[h]-m/2),S=M=m,JC(i,!0),HC(i,KC(i,n,N,M,S)));for(h=1;h<=f.u;++h)i=f.H[h],m=f.I[h],0!=f.c[i]&&f.c[i]==f.c[m]&&(Y(g,(EE(),IE)[f.c[i]]),o=f.J[m]-f.J[i],z=f.M[m]-f.M[i],w=Math.sqrt(o*o+z*z),1>w&&(w=1),z/=w,w=o/w,q=3*$*z,o=3*$*w,N=v(E,r,-1,4,1),n=v(E,r,-1,4,1),N[0]=G(f.J[i]+q),n[0]=G(f.M[i]-o),N[1]=
G(f.J[m]+q),n[1]=G(f.M[m]-o),N[2]=G(f.J[m]-q),n[2]=G(f.M[m]+o),N[3]=G(f.J[i]-q),n[3]=G(f.M[i]+o),m=g,i=N,JC(m,!0),HC(m,RC(m,i,n,4,!0)))}for(h=1;h<=f.u;++h){Y(g,(ey(),ky));i=f.H[h];m=f.I[h];1==f.k&&0!=f.c[i]&&f.c[i]==f.c[m]&&Y(g,(EE(),IE)[f.c[i]]);if(3==f.B[h]||4==f.B[h])n=i,i=m,m=n;S=f.J[i];M=f.M[i];N=f.J[m];n=f.M[m];if(1!=f.s[h]||0!=f.B[h])o=N-S,z=n-M,w=Math.sqrt(o*o+z*z),1>w&&(w=1),z/=w,w=o/w;switch(f.s[h]){case 2:10<=f.B[h]&&Y(g,oy);q=l*z;o=l*w;X(g,I(H(Math.round(S+q))),I(H(Math.round(M-o))),I(H(Math.round(N+
q))),I(H(Math.round(n-o))));X(g,I(H(Math.round(S-q))),I(H(Math.round(M+o))),I(H(Math.round(N-q))),I(H(Math.round(n+o))));Y(g,ky);break;case 3:m=I(H(Math.round(S)));i=I(H(Math.round(M)));N=I(H(Math.round(N)));n=I(H(Math.round(n)));X(g,m,i,N,n);S=I(H(Math.round($*z)));M=I(H(Math.round($*w)));X(g,m+S,i-M,N+S,n-M);X(g,m-S,i+M,N-S,n+M);break;case 9:case 0:for(i=0;10>i;++i)F=S-(S-N)/10*i,J=M-(M-n)/10*i,X(g,I(H(Math.round(F))),I(H(Math.round(J))),I(H(Math.round(F))),I(H(Math.round(J))));OC(g,f.n.k);m=Jy(f.n.n.d).b;
o=f.f[h];i=ub;null!=o&&(i=o);o=rz(f.n.n,i);S=I(H(Math.round((S+N)/2-o/2)));o=I(H(Math.round((M+n)/2+~~(m/2)-1)));Y(g,oy);NC(g,i,S,o);Y(g,ky);break;default:if(1==f.B[h]||3==f.B[h])q=$*z,o=$*w,J=v(E,r,-1,3,1),F=v(E,r,-1,3,1),J[0]=I(H(Math.round(N+q))),F[0]=I(H(Math.round(n-o))),J[1]=I(H(Math.round(S))),F[1]=I(H(Math.round(M))),J[2]=I(H(Math.round(N-q))),F[2]=I(H(Math.round(n+o))),m=g,i=J,n=F,JC(m,!0),HC(m,RC(m,i,n,3,!0));else if(2==f.B[h]||4==f.B[h]){q=$*z;o=$*w;for(i=0;10>i;++i)F=S-(S-N)/10*i,J=M-
(M-n)/10*i,m=i/10,X(g,I(H(Math.round(F+q*m))),I(H(Math.round(J-o*m))),I(H(Math.round(F-q*m))),I(H(Math.round(J+o*m))))}else X(g,I(H(Math.round(S))),I(H(Math.round(M))),I(H(Math.round(N))),I(H(Math.round(n))))}}w=v(qC,k,-1,f.t+1,1);z=v(E,r,-1,f.t+1,1);for(h=1;h<=f.u;++h)i=f.H[h],m=f.I[h],l=f.J[i],n=f.J[m],++z[i],++z[m],w[i]=w[i]/z[i]+n/z[i],w[m]=w[m]/z[m]+l/z[m];OC(g,f.n.k);m=Jy(f.n.n.d).b;M=v(Nq,k,1,f.t+1,0);N=v(E,r,-1,f.t+1,1);n=v(E,r,-1,f.t+1,1);l=v(XE,k,94,f.t+1,0);for(h=1;h<=f.t;++h)i=YE(f,h),
(null==i||1>i.length)&&(i=za),3==f.d[h]&&0<f.z[h]&&0==f.A[h]?(M[h]=i,N[h]=n[h]=rz(f.n.n,i),l[h]=ZE(f,h,N[h],N[h],m,!1)):(S=w[h]<f.J[h],F=!0,1<z[h]&&(0>=w[h]-f.J[h]?0-(w[h]-f.J[h]):w[h]-f.J[h])<25*f.n.z/3&&(F=!1),2<z[h]&&(F=!1),1==z[h]&&(0>=w[h]-f.J[h]?0-(w[h]-f.J[h]):w[h]-f.J[h])<25*f.n.z/10&&(S=!0),o=i,J=j,f.n.xb&&0<f.x[h]&&(J+=Xb,1<f.x[h]&&(J+=f.x[h])),q=j,0!=f.A[h]&&(1<Vi(f.A[h])&&(q+=Vi(f.A[h])),0<f.A[h]?q+=Aa:q+=Da),S||!F?i=i+J+q+j:i=q+J+j+i,F||(o=i),M[h]=i,o=rz(f.n.n,o),q=rz(f.n.n,i),N[h]=o,
n[h]=q,q=l[h]=ZE(f,h,o,q,m,S),S=q.d+1+1,o=q.e+m,Y(g,f.n.s),-1==f.k&&0!=f.c[h]&&Y(g,(EE(),IE)[f.c[h]]),Uy(g,q.d,q.e,q.c,q.b),1==f.k?0!=f.c[h]?Y(g,(EE(),IE)[f.c[h]]):Y(g,(ey(),ky)):Y(g,(EE(),HA)[f.d[h]]),NC(g,i,S,o));for(i=1;i<=f.y;++i)h=f.q[i][0],o=N[h],q=n[h],S=I(H(yB(f.J[h]-o/2))),o=I(H(yB(f.M[h]+~~(m/2)-1))),Y(g,(ey(),oy)),NC(g,ca+f.q[i][1],S+q,o);if(0<f.D||0<f.E)if(Y(g,104==f.n.c?(ey(),ly):(ey(),qy)),0<f.D&&106!=f.n.c&&(q=l[f.D],MC(g,q.d,q.e,q.c,q.b)),0<f.E&&(i=f.H[f.E],m=f.I[f.E],o=f.J[m]-f.J[i],
z=f.M[m]-f.M[i],w=Math.sqrt(o*o+z*z),1>w&&(w=1),z/=w,w=o/w,q=($+1)*z,o=($+1)*w,J=v(E,r,-1,5,1),F=v(E,r,-1,5,1),J[0]=I(H(yB(f.J[i]+q))),J[1]=I(H(yB(f.J[m]+q))),F[0]=I(H(yB(f.M[i]-o))),F[1]=I(H(yB(f.M[m]-o))),J[3]=I(H(yB(f.J[i]-q))),J[2]=I(H(yB(f.J[m]-q))),F[3]=I(H(yB(f.M[i]+o))),F[2]=I(H(yB(f.M[m]+o))),J[4]=J[0],F[4]=F[0],106!=f.n.c&&($=g,h=J,z=F,JC($,!1),HC($,RC($,h,z,5,!0))),106==f.n.c&&$E(f,f.H[f.E],f.I[f.E]))){$=0;for(h=1;h<=f.t;++h)0<f.b[h]&&++$;if($>~~(f.t/2))for(h=1;h<=f.t;++h)0<f.b[h]?f.b[h]=
0:f.b[h]=1;Y(g,(ey(),ly));for(h=1;h<=f.t;++h)0<f.b[h]&&(q=l[h],MC(g,q.d,q.e,q.c,q.b))}}}a.x||(a.kb?(Y(e,(ey(),jy)),X(e,c-1,0,c-1,b-1)):(Y(e,sy(QA)),X(e,c-1,0,c-1,b-1),Y(e,QA),X(e,c-2,0,c-2,b-1),Y(e,GE),X(e,c-3,0,c-3,b-1)));a.tb&&(d=~~((c-48)/2),Y(e,(ey(),oy)),X(e,d,~~(b/2),d+48,~~(b/2)),X(e,d+48,~~(b/2),d+48-6,~~(b/2)+6),X(e,d+48,~~(b/2),d+48-6,~~(b/2)-6));a.x&&(a.R=new Hy(Yb,0,a.C),a.U=new qz(a.R),null!=a.ab&&(d=rz(a.U,a.ab),c=I(H(Math.round((c-d)/2))),b-=a.C,Y(e,(ey(),ky)),OC(e,a.R),NC(e,a.ab,c,
b)));dC(a.Fb,a.bb,a.X,2*a.X+a.Q)}}function TE(a,b,c,d,e){var f,g,h,i,l;f=~~(a.X/4);g=!1;i=v(E,r,-1,9,1);l=v(E,r,-1,9,1);c+=~~(a.X/2);d+=~~(a.X/2);a=~~(a.X/2)-~~(f/2);1==e&&(e=6,g=!0);for(f=0;f<=e;++f)h=6.283185307179586/e*(f-0.5),i[f]=G(c+a*Math.sin(h)),l[f]=G(d+a*Math.cos(h));f=e+1;JC(b,!1);HC(b,RC(b,i,l,f,2<f));if(g){for(f=0;f<=e;++f)h=6.283185307179586/e*(f-0.5),i[f]=G(c+(a-3)*Math.sin(h)),l[f]=G(d+(a-3)*Math.cos(h));X(b,i[0],l[0],i[1],l[1]);X(b,i[2],l[2],i[3],l[3]);X(b,i[4],l[4],i[5],l[5])}}
function aF(a){var b,c,d;if(a.jb){d=a.Cb.b;b=a.A.c;c=2*a.X+a.Q;Y(d,QA);Uy(d,0,0,b,c);a.kb?(Y(d,(ey(),jy)),c=13*(a.X+a.Q),MC(d,c,0,b-c-1,2*a.X+a.Q-1)):(Y(d,sy(QA)),X(d,b-1,0,b-1,c-1),X(d,0,c-1,b-1-2,c-1),Y(d,GE),X(d,0,0,b-1,0));c=a.c;233<=a.c&&262>=a.c&&(a.c=213);for(b=1;13>=b;++b)PE(a,d,b,1),PE(a,d,b,2);a.c=c;dC(a.Fb,a.Cb,0,0)}}
function RE(a,b,c,d,e){var f,g,h,i,l,m,n,o;l=~~(d/4);m=2+~~(l/2);g=2+l;o=c+~~(10*d/24);i=o+l;n=b+d;e?(h=2+b,f=m+b,g+=b):(f=n-m,h=n-2,g=n-g);X(a,h,o,f,i);X(a,g,o,f,i);h=~~(l/3);X(a,f,o+h,f,i);f=d-m-4;i=270;e?(b+=m,e=270):(b=n-f-m,i*=-1,e=-90);IC(a,b,c+m-h,f,d-4-h-1,e,i)}
function qE(a,b){var c,d,e,f,g,h,i;UA(a);if(0==b.indexOf("$RXN")){a.tb=!0;a.fb=!0;g=bF(b);i=new tA(b,g,!0);d=j;for(c=1;5>=c;++c)d=cF(i,g);c=uB(aA(ln(d.substr(0,3)),10)).b;f=uB(aA(ln(d.substr(3,3)),10)).b;cF(i,g);for(d=1;d<=c+f;++d){for(e=j;!(h=cF(i,g),null==h||C(h,"$MOL"));)e+=h+g;a.cb[++a.ob]=new dF(a,e)}LE(a,1,c,1);LE(a,c+1,c+f,3)}else{a.tb=!1;a.Y=new dF(a,b);if(!a.Y||0==a.Y.t)return a.gb=!0,a.I="ERROR - problems in reading/processing MOL input",FA(a),!1;null!=a.i&&a.Y&&LA(a.Y,a.i,!0);null!=a.j&&
a.Y&&LA(a.Y,a.j,!1);g=eF(a.Y,!1);if(1==g)a.cb[++a.ob]=a.Y;else{a.fb=!0;for(d=1;d<=g;++d)a.cb[++a.ob]=new fF(a,a.Y,d)}a.e=1;a.Y=a.cb[a.e];LE(a,1,g,0)}FA(a);return!0}
function gF(a,b){var c,d,e,f,g,h,i,l;UA(a);c=f=0;l=new tA(b,"|>",!0);e=-1<b.indexOf(tb);h=1;g=mA(l);a.ob=0;for(d=1;d<=g;++d)if(i=qA(l),ln(i),!C(i,Ng))if(C(i,tb))++h,2==h?f=a.ob:3==h&&(c=a.ob+1);else{a.Y=new WA(a,i);if(0==a.Y.t)return a.gb=!0,a.I="ERROR - problems in reading/processing molecule !",Nz(),!1;++a.ob;a.e=a.ob;a.cb[a.ob]=a.Y}if(2==h)return a.gb=!0,a.I="ERROR - strange reaction - fixing !",Nz(),!1;if(3<h)return a.gb=!0,a.I="ERROR - strange reaction !",Nz(),!1;1<a.ob&&!e&&EA(a,rf);e&&!a.tb&&
EA(a,Qf);!e&&a.tb&&EA(a,vf);e?(LE(a,1,f,1),LE(a,f+1,c-1,2),LE(a,c,a.ob,3)):LE(a,1,a.ob,0);FA(a);return!0}function yp(a,b){a.gb=!0;a.I=b}
function Cp(a,b){var c,d;if(0!=b){sC(a);c=a.c;a.c=b;if(300>=b)switch(a.jb=!0,a.hb=!0,b){case 102:NE(a);d=a.Z;d.b=d.c;d.c.d=null;break;case 110:a.ib=!0;a.c=c;a.Z.b!=a.Z.c&&a.Z.b.c!=a.Z.c?a.f&&(++a.ob,a.e=a.ob,a.f=!1):(a.gb=!0,a.I="No more undo");if(!(a.Z.b!=a.Z.c&&a.Z.b.c!=a.Z.c))break;d=a.Z;if(!(d.b!=d.c&&d.b.c!=d.c))throw new nt("Cannot undo. Index is out of range.");if(!d.b.c)throw new nt(ac);d.b=d.b.c;hF(a,d.b.b);a.ib=!0;break;case 111:a.c=c;if(a.Z.b.d)a.f&&(++a.ob,a.e=a.ob,a.f=!1);else{a.gb=!0;
a.I="No more redo";break}if(!a.Z.b.d)break;d=a.Z;if(!d.b.d)throw new nt("Cannot redo. Index is out of range.");if(!d.b.d)throw new nt(ac);d.b=d.b.d;hF(a,d.b.b);a.ib=!0;break;case 152:a.c=c;d=a.vb;0<d.b?(--d.b,d=hs(d,d.b)):d=null;null==d?(a.gb=!0,a.I=mc):(yp(a,ec+(a.vb.b+1)),d=BB(d),MA(a,d,!1));break;case 151:d=a.vb;d.b<d.d-1?(++d.b,d=hs(d,d.b)):d=null;null==d?(a.gb=!0,a.I=mc):(yp(a,ec+(a.vb.b+1)),d=BB(d),MA(a,d,!1));break;case 101:a.yb&&zE(a.yb);a.yb=new iF(1,a);a.c=c;break;case 107:!a.rb?a.rb=new jF(a):
a.rb.Tb.d.hb?ND(a.rb.Tb.d):OA(a.rb);break;case 113:a.b&&zE(a.b);a.b=new iF(0,a);a.c=c;break;case 103:a.ib=!0;a.lb=!0;a.c=c;break;case 105:a.ib=!0;a.q&&a.db&&(a.db=!1,GA(a.Y),a.c=c);a.w=1;break;case 112:Nz();case 109:a.c=c;d=kF(a.Y);if(2==d){a.gb=!0;a.I="Copying the agent not possible !";break}d=v(qC,k,-1,4,1);rC(a.Y,d);a.ib=!0;a.Y=new KE(a.Y);d=G(~~((a.A.c-a.X)/2)-d[0]);for(c=1;c<=a.Y.t;++c)a.Y.J[c]+=2*d;XA(a.Y);a.cb[++a.ob]=a.Y;a.e=a.ob;break;case 104:0<a.Y.D?(a.ib=!0,nC(a.Y,a.Y.D),a.Y.D=0,uC(a)):
0<a.Y.E&&(a.ib=!0,oC(a.Y,a.Y.E),a.Y.E=0,uC(a));wC(a.Y);break;case 213:a.c=c;if(!a.D){var e,f,g,h;h=new mz;for(d=a.F,e=0,f=d.length;e<f;++e)c=d[e],g=new fz(c),lz(h,g),g.d=c,Cx(g.e,a);Cw(a,h);a.D=h}xE(a.D.b,a,a.E.b,a.E.c)}else{a.hb=!0;a.jb=!0;switch(b){case 301:a.d=3;break;case 401:a.d=4;break;case 501:a.d=5;break;case 701:a.d=9;break;case 801:a.d=10;break;case 901:a.d=11;break;case 1001:a.d=12;break;case 601:a.d=8;break;case 1101:a.d=7;break;case 1300:a.d=1;break;case 1201:a.o&&(zE(a.o),a.o=null);
0==a.Y.D&&(a.o=new iF(2,a));a.d=18;break;case 1301:a.d=19;break;case 1302:a.d=20;break;case 1303:a.d=21;break;case 1304:a.d=22}0<a.Y.D&&(a.ib=!0,a.d!=a.Y.d[a.Y.D]&&18!=a.d&&(a.Y.d[a.Y.D]=a.d,a.Y.A[a.Y.D]=0,a.Y.x[a.Y.D]=0,uC(a)),18==a.d&&(d=pn((zp(),Ap).Tb.b.pb,Fg),lF(a.Y,a.Y.D,d),uC(a)),wC(a.Y))}FA(a)}}
function up(a){var b,c,d;d=YA(a);c=j;if(a.tb){var e,f,g;g=Cq([4,a.ob+1]);for(f=1;3>=f;++f){e=0;for(b=1;b<=a.ob;++b)kF(a.cb[b])==f&&(g[f][++e]=b);g[f][0]=e}c=c+"$RXN\n\n\nJME Molecular Editor\n"+(mF(g[1][0],3)+mF(g[3][0],3)+aa);for(b=1;b<=g[1][0];++b)c+=oa+nF(a.cb[g[1][b]],d);for(b=1;b<=g[3][0];++b)c+=oa+nF(a.cb[g[3][b]],d)}else 1<a.ob&&(a.Y=new oF(a,a.cb,a.ob)),c=nF(a.Y,d),1<a.ob&&(a.Y=a.cb[a.e]);return c}
function kC(a,b,c,d){var e;e=c;var f=d,g,h;h=lC(b);g=0!=(b.f&2);h||g?(g=a.tb?(!a.v&&(a.v=BA(a,!0)),a.v):(!a.u&&(a.u=BA(a,!1)),a.u),xE(g.b,a,e,f),e=!0):e=!1;if(!e&&!a.x)if(a.gb=!1,a.Db=c-a.X,a.Eb=d-(2*a.X+a.Q),a.gb=!0,a.I=j,a.db=pC(b),a.eb=!1,c<a.X||d<2*a.X+a.Q){e=0;for(b=1;13>=b;++b)if(c<b*(a.X+a.Q)){e=b;break}c=0;for(b=1;b<=CA+2;++b)if(d<b*(a.X+a.Q)){c=b;break}0==e||0==c||(d=100*c+e,112==d||!a.qb&&107==d||!a.Ab&&201==d||!a.fb&&103==d||!a.nb&&!a.q&&105==d||!a.tb&&109==d||Cp(a,d))}else if(!(d>a.A.b-
a.X-1)){a.eb=!0;c-=a.X;d-=2*a.X+a.Q;if(0<a.Y.D)if(104==a.c)nC(a.Y,a.Y.D),a.Y.D=0,uC(a);else{if(106==a.c)return;if(108==a.c)pF(a.Y,a.Y.D,0),uC(a);else if(157==a.c)pF(a.Y,a.Y.D,1),uC(a);else if(158==a.c)pF(a.Y,a.Y.D,-1),uC(a);else if(202==a.c||203==a.c||204==a.c||201==a.c||205==a.c)a.N=1,W(a.Y,0),a.Y.F=a.Y.D,205==a.c?(a.Y.v=1,a.Y.j[1]=a.Y.t,a.Y.j[0]=a.Y.D,a.Y.E=0):uC(a);else if(206<=a.c&&229>=a.c)a.N=2,qF(a.Y),uC(a);else if(230==a.c)a.N=3,uC(a);else if(233<=a.c&&262>a.c)rF(a.Y,!1),uC(a),a.N=3;else if(107==
a.c){if(a.rb.c)return;lF(a.Y,a.Y.D,pn(a.rb.e.Tb.b.pb,Fg));uC(a)}else if(105==a.c)sF(a.Y);else if(300<a.c&&(a.d!=a.Y.d[a.Y.D]||18==a.d))a.Y.d[a.Y.D]=a.d,a.Y.A[a.Y.D]=0,a.Y.x[a.Y.D]=0,18==a.d&&(d=pn((zp(),Ap).Tb.b.pb,Fg),1>d.length&&(d=Wc),lF(a.Y,a.Y.D,d)),uC(a)}else if(0<a.Y.E)if(104==a.c)oC(a.Y,a.Y.E),a.Y.E=0,uC(a);else if(106==a.c){d=a.Y;c=a.Y.E;if(0<d.b[d.H[c]]&&0<d.b[d.I[c]])yp(d.n,"Removal of substituent not possible.");else for(;;){c=0;for(b=d.t;1<=b;--b)0<d.b[b]&&b>c&&(c=b);if(0==c)break;nC(d,
c);d.b[c]=0}a.Y.E=0;uC(a)}else if(201==a.c)tF(a.Y,a.Y.E),uC(a);else if(202==a.c||205==a.c)1==a.Y.s[a.Y.E]&&0==a.Y.B[a.Y.E]?(a.Y.s[a.Y.E]=2,uC(a)):a.Y.s[a.Y.E]=1,a.Y.B[a.Y.E]=0;else if(203==a.c)a.Y.s[a.Y.E]=2,a.Y.B[a.Y.E]=0,uC(a);else if(204==a.c)a.Y.s[a.Y.E]=3,a.Y.B[a.Y.E]=0,uC(a);else if(206<=a.c&&229>=a.c)a.N=2,qF(a.Y),uC(a);else if(107==a.c){if(!a.rb.c)return;d=pn(a.rb.e.Tb.b.pb,Fg);a.Y.s[a.Y.E]=9;a.Y.f[a.Y.E]=d;uC(a)}else 105==a.c&&(a.gb=!0,a.I="Only atoms may be marked !");else if(0==a.ob||a.lb){if(201>=
a.c)return;++a.ob;a.e=a.ob;a.cb[a.ob]=new OE(a);a.Y=a.cb[a.ob];a.lb=!1;202<=a.c&&204>=a.c||205==a.c?(uF(a.Y),a.Y.u=0,a.Y.z[1]=0,a.Y.J[1]=c,a.Y.M[1]=d,a.Y.D=1,a.Y.F=1,a.N=1,W(a.Y,0),205==a.c&&(a.Y.J[2]=c+21.65,a.Y.M[2]=d-12.5,a.Y.j[0]=1,a.Y.j[1]=2,a.Y.v=1)):206<=a.c&&229>=a.c?(a.Y.L=c,a.Y.O=d,a.N=2,qF(a.Y)):300<a.c?(uF(a.Y),a.Y.d[1]=a.d,a.Y.u=0,a.Y.z[1]=0,a.Y.J[1]=c,a.Y.M[1]=d,a.Y.D=1,18==a.d&&(d=pn((zp(),Ap).Tb.b.pb,Fg),1>d.length&&(d=Wc),lF(a.Y,1,d))):230==a.c?KA(a,null):233<=a.c&&262>a.c?(uF(a.Y),
a.Y.u=0,a.Y.z[1]=0,a.Y.J[1]=c,a.Y.M[1]=d,a.Y.D=1,rF(a.Y,!0)):Nz();uC(a)}wC(a.Y);a.hb=!1;a.jb=!1;a.ib=!0;FA(a)}}function sC(a){a.hb=!1;a.jb=!1;a.ib=!1}
function EA(a,b){var c,b=b.toLowerCase();-1<b.indexOf("norbutton")?a.sb=!1:-1<b.indexOf("rbutton")&&(a.sb=!0);-1<b.indexOf("nohydrogens")?a.xb=!1:-1<b.indexOf("hydrogens")&&(a.xb=!0);-1<b.indexOf("keephs")&&(a.M=!0);-1<b.indexOf("removehs")&&(a.M=!1);-1<b.indexOf("noquery")?a.qb=!1:-1<b.indexOf("query")&&(a.qb=!0);-1<b.indexOf(vf)?a.tb=!1:-1<b.indexOf(Qf)&&(a.tb=!0);-1<b.indexOf("noautoez")?a.p=!1:-1<b.indexOf("autoez")&&(a.p=!0);-1<b.indexOf("nostereo")?a.Ab=!1:-1<b.indexOf("stereo")&&(a.Ab=!0);
-1<b.indexOf("nocanonize")?a.r=!1:-1<b.indexOf("canonize")&&(a.r=!0);-1<b.indexOf("nomultipart")?a.fb=!1:-1<b.indexOf(rf)&&(a.fb=!0);-1<b.indexOf("nonumber")?(a.nb=!1,a.q=!1):-1<b.indexOf(zf)&&(a.nb=!0,a.q=!1);-1<b.indexOf("newlook")?(a.kb=!0,a.Q=1):-1<b.indexOf("oldlook")&&(a.kb=!1,a.Q=0);-1<b.indexOf("autonumber")&&(a.q=!0,a.nb=!0);-1<b.indexOf("star")&&(a.zb=!0,a.nb=!0);-1<b.indexOf("polarnitro")&&(a.pb=!0);-1<b.indexOf("depict")&&(a.x=!0,a.X=0,a.bb=null,LE(a,1,a.ob,0));if(-1<b.indexOf("nodepict")){a.x=
!1;for(c=1;c<=a.ob;++c)vF(a.cb[c]),ME(a.cb[c]);a.z=1;a.X=24;a.Y&&(a.Y.w=!0)}-1<b.indexOf(rd)&&(a.y=!0);b.indexOf("writesmi");b.indexOf("writemi");b.indexOf("writemol");-1<b.indexOf("nocenter")&&(a.mb=!0);-1<b.indexOf("jmeh")&&(a.L=!0);-1<b.indexOf("showan")&&(a.wb=!0);a.tb&&(a.q=!0,a.fb=!0);a.x||(a.y=!1);a.sb&&++CA;FA(a)}
function FA(a){var b,c,d;b=yx(a);!a.A||b.c!=a.A.c||b.b!=a.A.b||!a.bb||!a.H?(a.A=b,d=b.c-a.X,c=b.b-3*a.X-a.Q,1>d&&(d=1),1>c&&(c=1),a.bb=vx(a,d,c),WE(a),a.x||(a.Cb=vx(a,b.c,2*a.X+a.Q),aF(a),c=b.b-2*a.X+a.Q,1>c&&(c=1),a.O=vx(a,a.X,c),VE(a),a.H=vx(a,d,a.X),UE(a))):(WE(a),a.x||(UE(a),a.B&&(aF(a),VE(a)),a.B=!0));a.hb=!0;a.jb=!0;a.ib=!0;a.gb=!0}
function SA(a,b){var c,d,e;e=j;for(d=1;d<=a.ob;++d){if(0<b&&(c=kF(a.cb[d]),c!=b))continue;c=a.cb[d];for(var f=void 0,g=void 0,h=void 0,i=void 0,l=g=f=void 0,m=void 0,h=void 0,m=j+c.t+ca+c.u,i=1;i<=c.t;++i){h=YE(c,i);c.n.L&&0<c.x[i]&&(h+=Xb,1<c.x[i]&&(h+=c.x[i]));0!=c.A[i]&&(0<c.A[i]?h+=Aa:h+=Da,1<Vi(c.A[i])&&(h+=Vi(c.A[i])));g=-1;for(f=1;f<=c.y;++f)if(c.q[f][0]==i){g=c.q[f][1];break}c.n.zb&&0<c.c[i]&&(g=1);-1<g&&(h+=nb+g);m+=ca+h+ca+wF(0.055999999999999994*c.J[i],0,2)+ca+wF(0.055999999999999994*-c.M[i],
0,2)}for(i=1;i<=c.u;++i)f=c.H[i],g=c.I[i],l=c.s[i],1==c.B[i]?l=-1:2==c.B[i]?l=-2:3==c.B[i]?(l=-1,h=f,f=g,g=h):4==c.B[i]?(l=-2,h=f,f=g,g=h):10==c.B[i]&&(l=-5),9==c.s[i]&&(l=c.B[i]),m+=ca+f+ca+g+ca+l;c=m;0<c.length&&(0<e.length&&(e+=Ng),e+=c)}return e}function JE(a,b){var c,d,e;e=j;for(c=1;c<=a.ob;++c){if(0<b&&(d=kF(a.cb[c]),d!=b))continue;d=xF(a.cb[c]);0<d.length&&(0<e.length&&(e+=Ya),e+=d)}return e}
function uC(a){var b,c,d,e;e=new yF;e.b=a.e;e.e=a.ob;c=!1;for(b=1;99>b;++b)if(d=a.cb[b])0<d.t&&(c=!0),e.c[b]=new KE(d),XA(e.c[b]);else break;e.f=a.tb;e.d=a.fb;if(b=c?e:null)a=a.Z,b=new DE(b),c=a.b.d,a.b.d=b,b.c=a.b,c&&(b.d=c,c.c=b),a.b=b}function MA(a,b,c){try{qE(a,b)?c&&uC(a):FA(a)}catch(d){if(d=$h(d),y(d,112))FA(a);else throw d;}}function KA(a,b){try{gF(a,b)?uC(a):FA(a)}catch(c){if(c=$h(c),y(c,112))FA(a);else throw c;}}
function UA(a){a.c=202;a.lb=!1;a.ob=0;a.e=0;a.Y=new OE(a);a.Y.r=0;a.ab=null;a.z=1;a.ib=!0;FA(a)}function hF(a,b){var c,d;a.e=b.b;a.ob=b.e;for(c=1;99>c;++c)(d=b.c[c])?(a.cb[c]=new KE(d),XA(a.cb[c])):a.cb[c]=null;a.Y=a.cb[a.e];a.tb=b.f;a.fb=b.d}
function VA(a,b){var c;c=-1;C(b,"Select substituent")?(c=202,b=j):C(b,Ja)?c=235:C(b,La)?c=240:C(b,Ha)?c=260:C(b,Pa)?c=261:C(b,Ua)?c=241:C(b,Oa)?c=233:C(b,Na)?c=236:C(b,Ma)?c=237:C(b,Ta)?c=234:C(b,Ra)?c=243:C(b,Va)?c=252:C(b,Qa)?c=244:C(b,Wa)?c=239:C(b,"-PO3H2")?c=251:C(b,Ga)?c=242:C(b,Ea)?c=245:C(b,Fa)&&(c=238);0<c?Cp(a,c):b="Not known group!";a.gb=!0;a.I=b;FA(a)}function YA(a){var b;b=TA(a);FA(a);return b}
function QE(a,b,c,d,e){var f,g;f=a.U;g=rz(f,e);g>=a.X?(f=a.W,g=rz(f,e),OC(b,a.V)):OC(b,a.R);f=Jy(f.d).b;NC(b,e,c+~~((a.X-g)/2),d+~~((a.X-f)/2)+f)}function SE(a,b,c,d,e,f){var g,h;g=Jy(a.T.d).b;h=rz(a.T,f);OC(b,a.S);(b.d=e)&&(b.e=Tf+(e.b>>16&255)+Ba+(e.b>>8&255)+Ba+(e.b&255)+ya);NC(b,f,c+~~((a.X-h)/2),d+~~((a.X-g)/2)+g)}function Bp(a,b){a.q?0==b&&(a.w=-1,a.gb=!0,a.I=Bd,FA(a)):(a.P?a.w=b:-1<a.w&&10>a.w?a.w=10*a.w+b:a.w=b,a.P=!1,0==a.w?(a.w=-1,a.gb=!0,a.I=Bd):yp(a,a.w+ca),FA(a))}
function yA(){EE();tx.call(this);this.Fb=(Oo(),Oo(),ax).b;this.s=(ey(),fy);this.cb=v(zF,k,127,99,0);this.$=new rx;this.vb=new AF;this.J=C((Nz(),Oz[Ie]),cc);this.t=new BF;this.F=D(Nq,k,1,[Ja,La,Ua,Ha,Pa,Oa,Na,Ma,Ta,Va,Qa,Ra,Ga,Fa,Ea]);this.Y=new OE(this);IE[0]=iy;IE[1]=new gy(255,153,153);IE[2]=new gy(255,204,102);IE[3]=new gy(255,255,153);IE[4]=new gy(102,255,255);IE[5]=new gy(51,204,255);IE[6]=new gy(255,153,255)}s(528,354,eh,yA);_.b=null;_.c=0;_.d=0;_.e=0;_.f=!1;_.i=null;_.j=null;_.k=null;_.n=null;
_.o=null;_.p=!1;_.q=!1;_.r=!0;_.u=null;_.v=null;_.w=1;_.x=!1;_.y=!1;_.z=1;_.A=null;_.B=!0;_.C=10;_.D=null;_.E=null;_.G="http://peter-ertl.com/jsme/2013_01/help.html";_.H=null;_.I=null;_.K=null;_.L=!1;_.M=!0;_.N=0;_.O=null;_.P=!0;_.Q=1;_.R=null;_.S=null;_.T=null;_.U=null;_.V=null;_.W=null;_.X=24;_.Y=null;_.Z=null;_._=null;_.ab=null;_.bb=null;_.db=!1;_.eb=!1;_.fb=!1;_.gb=!0;_.hb=!0;_.ib=!0;_.jb=!0;_.kb=!0;_.lb=!1;_.mb=!1;_.nb=!1;_.ob=0;_.pb=!1;_.qb=!1;_.rb=null;_.sb=!1;_.tb=!1;_.ub=!1;_.wb=!1;
_.xb=!0;_.yb=null;_.zb=!1;_.Ab=!0;_.Bb=null;_.Cb=null;_.Db=0;_.Eb=0;var CA=10,QA,GE,HA,FE,AA=null,IE,IA;function vp(a){this.b=a}s(529,1,{},vp);_.b=null;function cD(){cD=u;dD=new CF("COPY_SMILES",0);eD=new CF("COPY_MOL",1);fD=new CF("PASTE",2);DF=D(EF,k,126,[dD,eD,fD])}function CF(a,b){un.call(this,a,b)}s(530,137,{106:1,109:1,111:1,126:1},CF);var DF,eD,dD,fD;function yF(){this.c=v(zF,k,127,99,0)}s(531,1,{},yF);_.b=0;_.d=!1;_.e=0;_.f=!1;
function FF(a){a.d=v(E,r,-1,20,1);a.A=v(E,r,-1,20,1);a.J=v(qC,k,-1,20,1);a.M=v(qC,k,-1,20,1);a.G=Cq([20,7]);a.c=v(E,r,-1,20,1);a.e=v(Nq,k,1,20,0);a.o=v(Nq,k,1,20,0);a.x=v(E,r,-1,20,1);a.z=v(E,r,-1,20,1);a.H=v(E,r,-1,20,1);a.I=v(E,r,-1,20,1);a.s=v(E,r,-1,20,1);a.B=v(E,r,-1,20,1);a.K=v(E,r,-1,20,1);a.N=v(E,r,-1,20,1);a.f=v(Nq,k,1,20,0);a.q=Cq([10,2]);a.j=v(E,r,-1,101,1)}
function GF(a,b,c,d){var e,f,g,h,i,l,m,n,o;i=v(E,r,-1,4,1);f=a.J[c]-a.J[b];g=a.M[c]-a.M[b];m=Math.sqrt(f*f+g*g);0.001>m&&(m=0.001);o=g/m;e=f/m;l=v(E,r,-1,4,1);for(h=0;4>h;++h)d[h]==c||0>=d[h]||(0==l[1]?l[1]=d[h]:0==l[2]?l[2]=d[h]:0==l[3]&&(l[3]=d[h]));n=v(qC,k,-1,4,1);d=v(qC,k,-1,4,1);for(h=1;3>=h;++h)3==h&&0==l[3]||(f=(a.J[l[h]]-a.J[b])*e+(a.M[l[h]]-a.M[b])*o,g=(a.M[l[h]]-a.M[b])*e-(a.J[l[h]]-a.J[b])*o,m=Math.sqrt(f*f+g*g),0.001>m&&(m=0.001),n[h]=g/m,d[h]=f/m);a=HF(n[1],d[1],n[2],d[2]);0<l[3]?(b=
HF(n[2],d[2],n[3],d[3]),d=HF(n[1],d[1],n[3],d[3]),0<a&&0<b?(i[1]=l[1],i[2]=l[2],i[3]=l[3]):0<d&&0>b?(i[1]=l[1],i[2]=l[3],i[3]=l[2]):0>a&&0<d?(i[1]=l[2],i[2]=l[1],i[3]=l[3]):0<b&&0>d?(i[1]=l[2],i[2]=l[3],i[3]=l[1]):0>d&&0<a?(i[1]=l[3],i[2]=l[1],i[3]=l[2]):0>b&&0>a&&(i[1]=l[3],i[2]=l[2],i[3]=l[1])):0<a?(i[1]=l[1],i[2]=l[2]):(i[1]=l[2],i[2]=l[1]);i[0]=c;return i}
function W(a,b){var c,d,e,f,g,h,i,l;uF(a);switch(a.z[a.D]){case 0:a.J[a.t]=a.J[a.D]+21.65*a.n.z;a.M[a.t]=a.M[a.D]+12.5*a.n.z;break;case 1:c=a.G[a.D][1];d=0;2==a.z[c]&&(a.G[c][1]==a.D?d=a.G[c][2]:d=a.G[c][1]);e=a.J[a.D]-a.J[c];f=a.M[a.D]-a.M[c];h=Math.sqrt(e*e+f*f);0.001>h&&(h=0.001);f/=h;e/=h;i=h+25*a.n.z*Math.cos(1.0471975511965976);l=25*a.n.z*Math.sin(1.0471975511965976);g=IF(a,a.D,c);if(3==a.s[g]||204==a.n.c||1!=a.s[g]&&(203==a.n.c||204==a.n.c)||a.p)i=h+25*a.n.z,l=0;0<d&&0<(a.M[d]-a.M[c])*e-(a.J[d]-
a.J[c])*f&&(l=-l);0<b&&0>l?l=-l:0>b&&0<l&&(l=-l);a.J[a.t]=a.J[c]+i*e-l*f;a.M[a.t]=a.M[c]+l*e+i*f;break;case 2:c=v(qC,k,-1,2,1);JF(a,a.D,25*a.n.z,c);a.J[a.t]=c[0];a.M[a.t]=c[1];break;case 3:case 4:case 5:for(g=1;g<=a.z[a.D]&&!(c=a.G[a.D][g],e=a.J[a.D]-a.J[c],f=a.M[a.D]-a.M[c],h=Math.sqrt(e*e+f*f),0.001>h&&(h=0.001),a.J[a.t]=a.J[a.D]+25*a.n.z*e/h,a.M[a.t]=a.M[a.D]+25*a.n.z*f/h,0==mC(a,a.t)||g==a.z[a.D]);++g);break;default:--a.t;yp(a.n,"Are you trying to draw an hedgehog ?");a.n.N=9;return}a.z[a.t]=
1;++a.z[a.D];tC(a);a.s[a.u]=1;203==a.n.c&&(a.s[a.u]=2);204==a.n.c&&(a.s[a.u]=3);a.H[a.u]=a.D;a.I[a.u]=a.t;201==a.n.c&&tF(a,a.u);a.G[a.t][1]=a.D;a.G[a.D][a.z[a.D]]=a.t;a.K[a.u]=I(H(yB((a.J[a.D]+a.J[a.t])/2)));a.N[a.u]=I(H(yB((a.M[a.D]+a.M[a.t])/2)));a.L=a.J[a.t];a.O=a.M[a.t]}
function rF(a,b){var c;a.F=a.D;c=0;if(233==a.n.c||237==a.n.c||236==a.n.c||239==a.n.c||251==a.n.c||252==a.n.c)W(a,0),a.D=a.t,a.p=!0,W(a,0),a.p=!1,a.D=a.t-1,W(a,0),a.D=a.t-2,W(a,0),237==a.n.c&&(a.d[a.t]=10,a.d[a.t-1]=10,a.d[a.t-2]=10),236==a.n.c&&(a.d[a.t]=9,a.d[a.t-1]=9,a.d[a.t-2]=9),239==a.n.c&&(a.d[a.t]=5,a.d[a.t-1]=5,a.d[a.t-2]=5,a.d[a.t-3]=8,a.s[a.u]=2,a.s[a.u-1]=2),252==a.n.c&&(a.d[a.t]=5,a.d[a.t-1]=5,a.d[a.t-2]=4,a.d[a.t-3]=8,a.s[a.u]=2,a.s[a.u-1]=2),251==a.n.c&&(a.d[a.t]=5,a.d[a.t-1]=5,a.d[a.t-
2]=5,a.d[a.t-3]=7,a.s[a.u]=2),c=4;else if(244==a.n.c)W(a,0),a.d[a.t]=4,a.D=a.t,W(a,0),a.d[a.t]=8,a.D=a.t,a.p=!0,W(a,0),a.p=!1,a.D=a.t-1,W(a,0),a.d[a.t]=5,a.s[a.u]=2,a.D=a.t-2,W(a,0),a.d[a.t]=5,a.s[a.u]=2,c=5;else if(234==a.n.c)W(a,0),a.d[a.t]=4,a.D=a.t,a.n.pb&&pF(a,a.D,1),W(a,0),a.d[a.t]=5,a.s[a.u]=2,a.D=a.t-1,W(a,0),a.d[a.t]=5,a.n.pb?(a.s[a.u]=1,pF(a,a.t,-1)):a.s[a.u]=2,c=3;else if(235==a.n.c)W(a,0),a.D=a.t,W(a,0),a.d[a.t]=5,a.D=a.t-1,W(a,0),a.d[a.t]=5,a.s[a.u]=2,c=3;else if(240==a.n.c)W(a,0),a.D=
a.t,W(a,0),a.d[a.t]=5,a.D=a.t,W(a,0),a.D=a.t-2,W(a,0),a.d[a.t]=5,a.s[a.u]=2,c=4;else if(260==a.n.c)W(a,0),a.D=a.t,W(a,0),a.d[a.t]=4,a.D=a.t-1,W(a,0),a.d[a.t]=5,a.s[a.u]=2,c=3;else if(261==a.n.c)W(a,0),a.d[a.t]=4,a.D=a.t,W(a,0),a.D=a.t,W(a,0),a.d[a.t]=5,a.s[a.u]=2,c=3;else if(241==a.n.c)W(a,0),a.d[a.t]=5,a.D=a.t,W(a,0),a.D=a.t,W(a,0),a.D=a.t-1,W(a,0),a.s[a.u]=2,a.d[a.t]=5,c=4;else if(243==a.n.c)W(a,0),a.d[a.t]=4,a.D=a.t,W(a,0),a.D=a.t-1,W(a,0),c=3;else if(238==a.n.c)W(a,0),a.D=a.t,a.p=!0,W(a,0),a.s[a.u]=
3,a.p=!1,c=2;else if(249==a.n.c)W(a,0),a.D=a.t,W(a,0),a.s[a.u]=2,a.d[a.t]=5,c=2;else if(250==a.n.c)W(a,0),a.s[a.u]=2,a.d[a.t]=5,c=1;else if(245==a.n.c)W(a,0),a.D=a.t,a.p=!0,W(a,0),a.D=a.t,a.s[a.u]=3,W(a,0),a.p=!1,c=3;else if(242==a.n.c)W(a,0),a.D=a.t,a.p=!0,W(a,0),a.s[a.u]=3,a.d[a.t]=4,a.p=!1,c=2;else if(254==a.n.c)W(a,0),a.d[a.t]=9,c=1;else if(255==a.n.c)W(a,0),a.d[a.t]=10,c=1;else if(256==a.n.c)W(a,0),a.d[a.t]=11,c=1;else if(257==a.n.c)W(a,0),a.d[a.t]=12,c=1;else if(258==a.n.c)W(a,0),a.d[a.t]=4,
c=1;else if(259==a.n.c)W(a,0),a.d[a.t]=5,c=1;else if(246==a.n.c)W(a,0),a.D=a.t,W(a,0),c=2;else if(247==a.n.c)W(a,0),a.D=a.t,W(a,0),a.D=a.t,W(a,0),c=3;else if(248==a.n.c)W(a,0),a.D=a.t,W(a,0),a.D=a.t,W(a,0),a.D=a.t,W(a,0),c=4;else if(253==a.n.c){var d,e,f,g,h,i,l,m,n,o,q;if(a.n.Bb){c=0;m=a.n.Bb;for(l=1;l<=m.y;++l)d=m.q[l][0],1==m.q[l][1]&&(c=d);d=a.t;l=a.D;W(a,0);e=a.J[a.t];g=a.M[a.t];nC(a,a.t);e=a.J[l]-e;g=a.M[l]-g;i=Math.sqrt(e*e+g*g);g/=i;e/=i;for(i=1;i<=m.t;++i)uF(a),a.d[a.t]=m.d[i],a.A[a.t]=m.A[i],
a.x[a.t]=m.x[i],a.J[a.t]=m.J[i],a.M[a.t]=m.M[i];for(i=1;i<=m.u;++i)tC(a),a.H[a.u]=m.H[i]+d,a.I[a.u]=m.I[i]+d,a.s[a.u]=m.s[i];XA(a);a.D=c+d;W(a,0);m=a.J[a.t];o=a.M[a.t];nC(a,a.t);f=a.J[c+d]-m;h=a.M[c+d]-o;i=Math.sqrt(f*f+h*h);h/=i;f/=i;for(i=d+1;i<=a.t;++i)a.J[i]-=m,a.M[i]-=o,n=a.J[i]*f+a.M[i]*h,q=a.M[i]*f-a.J[i]*h,a.J[i]=n,a.M[i]=q,n=-a.J[i]*e+a.M[i]*g,q=-a.M[i]*e-a.J[i]*g,a.J[i]=n,a.M[i]=q,a.J[i]+=a.J[l],a.M[i]+=a.M[l];tC(a);a.H[a.u]=l;a.I[a.u]=c+d;XA(a);b&&(nC(a,l),ME(a))}c=4}KF(a,c);a.D=a.F;b&&
(a.D=0)}
function JF(a,b,c,d){var e,f,g,h,i;e=a.G[b][1];f=a.G[b][2];g=a.J[f]-a.J[e];h=-(a.M[f]-a.M[e]);i=Math.sqrt(g*g+h*h);0.001>i&&(i=0.001);h/=i;g/=i;1>(0>=(a.M[b]-a.M[e])*g+(a.J[b]-a.J[e])*h?0-((a.M[b]-a.M[e])*g+(a.J[b]-a.J[e])*h):(a.M[b]-a.M[e])*g+(a.J[b]-a.J[e])*h)?(g=a.J[b]-a.J[e],h=a.M[b]-a.M[e],i=Math.sqrt(g*g+h*h),0.001>i&&(i=0.001),h/=i,g/=i,d[0]=a.J[e]+i*g-c*h,d[1]=a.M[e]+c*g+i*h):(g=(a.J[e]+a.J[f])/2,e=(a.M[e]+a.M[f])/2,g=a.J[b]-g,h=a.M[b]-e,i=Math.sqrt(g*g+h*h),0.001>i&&(i=0.001),d[0]=a.J[b]+
c*g/i,d[1]=a.M[b]+c*h/i)}
function qF(a){var b,c,d,e,f,g,h,i,l,m,n,o,q;l=-1;h=6;switch(a.n.c){case 206:h=3;break;case 207:h=4;break;case 208:case 221:case 223:h=5;break;case 210:case 209:h=6;break;case 211:h=7;break;case 212:h=8;break;case 229:h=9}f=6.283185307179586/h;i=625*a.n.z*a.n.z/2/(1-Math.cos(f));i=Math.sqrt(i);if(0<a.D)if(2>a.z[a.D])LF(a,h,f,i);else if(a.n.db){if(209==a.n.c||221==a.n.c||223==a.n.c){yp(a.n,"ERROR - cannot add aromatic spiro ring !");a.n.N=9;return}for(d=1;d<=a.z[a.D];++d)if(b=a.s[IF(a,a.D,a.G[a.D][d])],
2<d||1!=b){yp(a.n,"ERROR - spiro ring not possible here !");a.n.N=9;return}b=v(qC,k,-1,2,1);JF(a,a.D,i,b);e=a.J[a.D]-b[0];g=a.M[a.D]-b[1];m=Math.sqrt(e*e+g*g);0.001>m&&(m=0.001);g/=m;e/=m;for(d=1;d<=h;++d)uF(a),n=f*d+1.5707963267948966,a.J[a.t]=b[0]+i*(Math.sin(n)*e-Math.cos(n)*g),a.M[a.t]=b[1]+i*(Math.cos(n)*e+Math.sin(n)*g)}else l=a.D,W(a,0),a.D=a.t,LF(a,h,f,i);else if(0<a.E){b=a.H[a.E];c=a.I[a.E];d=0;2==a.z[b]?a.G[b][1]!=c?d=a.G[b][1]:d=a.G[b][2]:2==a.z[c]&&(a.G[c][1]!=b?d=a.G[c][1]:d=a.G[c][2],
m=b,b=c,c=m);0==d&&(a.G[b][1]!=c?d=a.G[b][1]:d=a.G[b][2]);e=a.J[c]-a.J[b];g=a.M[c]-a.M[b];m=Math.sqrt(e*e+g*g);0.001>m&&(m=0.001);g/=m;e/=m;n=m/2;q=i*Math.sin(0.5*(3.141592653589793-f));m=1;0<(a.M[d]-a.M[b])*e-(a.J[d]-a.J[b])*g&&(q=-q,m=0);o=a.J[b]+n*e-q*g;q=a.M[b]+q*e+n*g;for(d=1;d<=h;++d)uF(a),n=f*(d+0.5)+3.141592653589793*m,a.J[a.t]=o+i*(Math.sin(n)*e-Math.cos(n)*g),a.M[a.t]=q+i*(Math.cos(n)*e+Math.sin(n)*g),1==m?(d==h&&(a.J[a.t]=a.J[b],a.M[a.t]=a.M[b]),d==h-1&&(a.J[a.t]=a.J[c],a.M[a.t]=a.M[c])):
(d==h-1&&(a.J[a.t]=a.J[b],a.M[a.t]=a.M[b]),d==h&&(a.J[a.t]=a.J[c],a.M[a.t]=a.M[c]))}else{b=0.5;6==h&&(b=0);for(d=1;d<=h;++d)uF(a),n=f*(d-b),a.J[a.t]=a.L+i*Math.sin(n),a.M[a.t]=a.O+i*Math.cos(n)}b=h;i=0;for(f=1;f<=b;++f)tC(a),a.s[a.u]=1,i=a.t-b+f,a.z[i]=2,a.H[a.u]=i,a.I[a.u]=i+1;a.I[a.u]=a.t-b+1;if(209==a.n.c){if(a.s[a.u-4]=2,a.s[a.u-2]=2,a.s[a.u]=2,0<a.E)if(1==a.s[a.E]){if(b=0,1<a.z[a.H[a.E]]&&(b=a.G[a.H[a.E]][1],i=a.H[a.E],b==a.I[a.E]&&(b=a.G[a.H[a.E]][2])),0==b&&1<a.z[a.I[a.E]]&&(b=a.G[a.I[a.E]][1],
i=a.I[a.E],b==a.I[a.E]&&(b=a.G[a.I[a.E]][2])),0<b)for(f=1;f<=a.u;++f)if(a.H[f]==b&&a.I[f]==i||a.H[f]==i&&a.I[f]==b){1!=a.s[f]&&(a.s[a.u-4]=1,a.s[a.u-2]=1,a.s[a.u]=1,a.s[a.u-5]=2,a.s[a.u-3]=2,a.s[a.u-1]=3);break}}else a.s[a.u-4]=1,a.s[a.u-2]=1,a.s[a.u]=1,a.s[a.u-5]=2,a.s[a.u-3]=2,a.s[a.u-1]=2}else if(221==a.n.c||223==a.n.c)if(0<a.E){if(1==a.s[a.E]){b=!1;for(f=1;f<=a.z[a.H[a.E]];++f)if(i=a.G[a.H[a.E]][f],1<a.s[IF(a,a.H[a.E],i)]){b=!0;break}for(f=1;f<=a.z[a.I[a.E]];++f)if(i=a.G[a.I[a.E]][f],1<a.s[IF(a,
a.I[a.E],i)]){b=!0;break}b||(a.s[a.E]=2)}a.s[a.u-4]=2;a.d[a.t-2]=5}else 0<a.D?221==a.n.c?(a.s[a.u-4]=1,a.s[a.u-2]=1,a.s[a.u-1]=1,a.s[a.u-3]=2,a.s[a.u]=2,a.d[a.t-1]=5):(a.s[a.u-3]=1,a.s[a.u-2]=1,a.s[a.u]=1,a.s[a.u-4]=2,a.s[a.u-1]=2,a.d[a.t-2]=5):(a.s[a.u-3]=1,a.s[a.u-2]=1,a.s[a.u]=1,a.s[a.u-4]=2,a.s[a.u-1]=2,a.d[a.t-2]=5);i=v(E,r,-1,a.t+1,1);for(f=1;f<=h;++f)b=a.t-h+f,c=a.u-h+f,a.G[b][1]=b-1,a.G[b][2]=b+1,b=a.H[c],e=a.I[c],a.K[c]=I(H(yB((a.J[b]+a.J[e])/2))),a.N[c]=I(H(yB((a.M[b]+a.M[e])/2)));a.G[a.t-
h+1][1]=a.t;a.G[a.t][2]=a.t-h+1;for(f=a.t-h+1;f<=a.t;++f){i[f]=0;g=51;c=0;for(b=1;b<=a.t-h;++b)e=a.J[f]-a.J[b],d=a.M[f]-a.M[b],e=e*e+d*d,50>e&&e<g&&(g=e,c=b);0<c&&(0==a.D||c==a.D)&&(i[f]=c)}g=a.u-h;f=g+1;a:for(;f<=g+h;++f)if(b=a.H[f],e=a.I[f],0<i[b]&&0<i[e]){for(c=1;c<=g;++c)if(a.H[c]==i[b]&&a.I[c]==i[e]||a.I[c]==i[b]&&a.H[c]==i[e])continue a;tC(a);a.s[a.u]=a.s[f];a.H[a.u]=i[b];a.G[i[b]][++a.z[i[b]]]=i[e];a.I[a.u]=i[e];a.G[i[e]][++a.z[i[e]]]=i[b];a.K[a.u]=I(H(yB((a.J[a.H[a.u]]+a.J[a.I[a.u]])/2)));
a.N[a.u]=I(H(yB((a.M[a.H[a.u]]+a.M[a.I[a.u]])/2)))}else 0<i[b]?(tC(a),a.s[a.u]=a.s[f],a.H[a.u]=i[b],a.G[i[b]][++a.z[i[b]]]=e,a.I[a.u]=e,a.G[e][++a.z[e]]=i[b],a.K[a.u]=I(H(yB((a.J[a.H[a.u]]+a.J[a.I[a.u]])/2))),a.N[a.u]=I(H(yB((a.M[a.H[a.u]]+a.M[a.I[a.u]])/2)))):0<i[e]&&(tC(a),a.s[a.u]=a.s[f],a.H[a.u]=i[e],a.G[i[e]][++a.z[i[e]]]=b,a.I[a.u]=b,a.G[b][++a.z[b]]=i[e],a.K[a.u]=I(H(yB((a.J[a.H[a.u]]+a.J[a.I[a.u]])/2))),a.N[a.u]=I(H(yB((a.M[a.H[a.u]]+a.M[a.I[a.u]])/2))));d=a.t-h;for(f=a.t;f>d;--f)if(0<i[f]&&
(nC(a,f),3==a.d[i[f]])){m=0;for(b=1;b<=a.z[i[f]];++b){e=a.G[i[f]][b];for(c=1;c<=a.u;++c)(a.H[c]==i[f]&&a.I[c]==e||a.H[c]==e&&a.I[c]==i[f])&&(m+=a.s[c])}if(4<m)for(c=g+1;c<=g+h;++c)a.s[c]=1}0<a.D&&KF(a,h);-1<l&&(a.D=l)}
function LF(a,b,c,d){var e,f,g,h,i,l;0==a.z[a.D]?(e=0,f=1):(e=a.G[a.D][1],f=a.J[a.D]-a.J[e],e=a.M[a.D]-a.M[e],g=Math.sqrt(f*f+e*e),0.001>g&&(g=0.001),e/=g,f/=g);i=a.J[a.D]+d*f;l=a.M[a.D]+d*e;for(g=1;g<=b;++g)uF(a),h=c*g-1.5707963267948966,a.J[a.t]=i+d*(Math.sin(h)*f-Math.cos(h)*e),a.M[a.t]=l+d*(Math.cos(h)*f+Math.sin(h)*e)}function KF(a,b){var c,d;0==b&&(b=a.t);for(c=a.t;c>a.t-b;--c)d=mC(a,c),0!=d&&(a.J[c]+=6,a.M[c]+=6)}
function IF(a,b,c){var d;for(d=1;d<=a.u;++d)if(a.H[d]==b&&a.I[d]==c||a.H[d]==c&&a.I[d]==b)return d;return 0}function MF(a,b,c){var d,e,f,g;e=Og;for(f=g=0;;){++g;for(d=1;d<=a.t;++d)if(nr(c[d])){e=c[d];break}for(d=1;d<=a.t;++d)nr(c[d])&&!cr(c[d],e)&&(e=c[d]);for(d=1;d<=a.t;++d)hr(c[d],e)&&(b[d]=g,c[d]=Og,++f);if(f==a.t)break}return g==a.t}
function ME(a){var b,c,d;b=v(qC,k,-1,4,1);d=c=0;a.n&&a.n.A&&0<a.n.A.c&&(c=a.n.A.c-a.n.X,d=a.n.A.b-3*a.n.X);if(0>=c||0>=d)a.w=!0;else{rC(a,b);c=~~(c/2)-I(H(Math.round(b[0])));d=~~(d/2)-I(H(Math.round(b[1])));if(!a.n.mb)for(b=1;b<=a.t;++b)a.J[b]+=c,a.M[b]+=d;vC(a)}}
function rC(a,b){var c,d,e,f,g;f=9999;d=-9999;g=9999;e=-9999;for(c=1;c<=a.t;++c)a.J[c]<f&&(f=a.J[c]),a.J[c]>d&&(d=a.J[c]),a.M[c]<g&&(g=a.M[c]),a.M[c]>e&&(e=a.M[c]);b[0]=f+(d-f)/2;b[1]=g+(e-g)/2;b[2]=d-f;b[3]=e-g;25>b[2]&&(b[2]=25);25>b[3]&&(b[3]=25)}
function pF(a,b,c){var d;if(1==c)++a.A[b];else if(-1==c)--a.A[b];else switch(d=NF(a,b),-1==d&&0==c&&(0==a.A[b]?a.A[b]=1:1==a.A[b]?a.A[b]=-1:-1==a.A[b]&&(a.A[b]=0)),a.d[b]){case 2:2<d&&yp(a.n,"Charge change not possible on this boron !");0==a.A[b]?a.A[b]=1:1==a.A[b]&&(a.A[b]=0);break;case 3:3<d?yp(a.n,"Charge change not possible on this carbon !"):4>d&&(0==a.A[b]?a.A[b]=-1:-1==a.A[b]?a.A[b]=1:1==a.A[b]&&(a.A[b]=0));break;case 4:case 7:3<d?yp(a.n,"Charge change not possible on multibonded N or P !"):
3==d&&0==a.A[b]?a.A[b]=1:3==d&&1==a.A[b]?a.A[b]=0:3>d&&0==a.A[b]?a.A[b]=1:3>d&&1==a.A[b]?a.A[b]=-1:3>d&&-1==a.A[b]&&(a.A[b]=0);break;case 5:case 8:case 13:2<d?yp(a.n,"Charge change not possible on multibonded O or S !"):2==d&&0==a.A[b]?a.A[b]=1:2==d&&1==a.A[b]?a.A[b]=0:2>d&&0==a.A[b]?a.A[b]=-1:2>d&&-1==a.A[b]?a.A[b]=1:2>d&&1==a.A[b]&&(a.A[b]=0);break;case 9:case 10:case 11:case 12:0==d&&0==a.A[b]?a.A[b]=-1:0==d&&-1==a.A[b]?a.A[b]=0:yp(a.n,"Charge change not possible on the halogen !");break;case 18:yp(a.n,
"Use X button to change charge on the X atom !")}}
function eF(a,b){var c,d,e,f,g;f=0;g=!1;for(a.b=v(E,r,-1,a.t+1,1);;){for(e=1;e<=a.t;++e)if(0==a.b[e]){a.b[e]=++f;g=!0;break}if(!g)break;for(;g;){g=!1;for(e=1;e<=a.u;++e)c=a.H[e],d=a.I[e],0<a.b[c]&&0==a.b[d]?(a.b[d]=f,g=!0):0<a.b[d]&&0==a.b[c]&&(a.b[c]=f,g=!0)}}if(2>f||!b)return f;g=v(E,r,-1,f+1,1);for(c=1;c<=a.t;++c)++g[a.b[c]];e=0;for(c=d=1;c<=f;++c)g[c]>e&&(e=g[c],d=c);for(c=a.t;1<=c;--c)a.b[c]!=d&&nC(a,c);ME(a);yp(a.n,"Smaller part(s) removed !");return 1}
function mC(a,b){var c,d,e,f,g;f=51;g=0;for(e=1;e<a.t;++e)b!=e&&(c=a.J[b]-a.J[e],d=a.M[b]-a.M[e],c=c*c+d*d,50>c&&c<f&&(f=c,g=e));return g}
function xC(a){var b,c,d;for(d=1;d<=a.u;++d){b=a.H[d];c=a.I[d];if(1==a.A[b]&&-1==a.A[c]||-1==a.A[b]&&1==a.A[c])if(1==a.s[d]||2==a.s[d]){if(3!=a.d[b]&&3!=a.d[c]&&a.n.pb)continue;if(1==a.d[b]||1==a.d[c])continue;if(2==a.d[b]||2==a.d[c])continue;if(9==a.d[b]||10==a.d[b]||11==a.d[b]||12==a.d[b]||9==a.d[c]||10==a.d[c]||11==a.d[c]||12==a.d[c])continue;a.A[b]=0;a.A[c]=0;++a.s[d];wC(a)}1==a.A[b]&&1==a.A[c]&&(2==a.s[d]?a.s[d]=1:3==a.s[d]&&(a.s[d]=2),wC(a));4==a.s[d]&&(a.s[d]=1)}}
function HF(a,b,c,d){var e,f;f=e=0;0<=a&&0<=b?e=1:0<=a&&0>b?e=2:0>a&&0>b?e=3:0>a&&0<=b&&(e=4);0<=c&&0<=d?f=1:0<=c&&0>d?f=2:0>c&&0>d?f=3:0>c&&0<=d&&(f=4);if(e<f)return 1;if(e>f)return-1;switch(e){case 1:case 4:return a<c?1:-1;case 2:case 3:return a>c?1:-1}return 0}function XA(a){var b;OF(a);b=a.s.length;a.K=v(E,r,-1,b,1);a.N=v(E,r,-1,b,1);vC(a);wC(a)}
function uF(a){var b,c;++a.t;a.t>a.d.length-1&&(c=a.d.length+10,b=v(E,r,-1,c,1),IB(a.d,b,a.d.length),a.d=b,b=v(E,r,-1,c,1),IB(a.A,b,a.A.length),a.A=b,b=v(E,r,-1,c,1),IB(a.x,b,a.x.length),a.x=b,b=v(E,r,-1,c,1),IB(a.c,b,a.c.length),a.c=b,b=v(Nq,k,1,c,0),IB(a.e,b,a.e.length),a.e=b,b=v(Nq,k,1,c,0),IB(a.o,b,a.o.length),a.o=b,b=v(qC,k,-1,c,1),IB(a.J,b,a.J.length),a.J=b,b=v(qC,k,-1,c,1),IB(a.M,b,a.M.length),a.M=b,b=Cq([c,7]),IB(a.G,b,a.G.length),a.G=b,c=v(E,r,-1,c,1),IB(a.z,c,a.z.length),a.z=c);a.d[a.t]=
3;a.A[a.t]=0;a.c[a.t]=0;a.e[a.t]=null;a.x[a.t]=0}function ZE(a,b,c,d,e,f){var g;g=I(H(yB(a.J[b]-c/2)));f||(g-=d-c);a=I(H(yB(a.M[b]-~~(e/2))));return new lx(g-1-1,a-1,d+1+2,e+2)}
function tC(a){var b,c;++a.u;a.u>a.s.length-1&&(b=a.s.length+10,c=v(E,r,-1,b,1),IB(a.H,c,a.H.length),a.H=c,c=v(E,r,-1,b,1),IB(a.I,c,a.I.length),a.I=c,c=v(E,r,-1,b,1),IB(a.s,c,a.s.length),a.s=c,c=v(E,r,-1,b,1),IB(a.B,c,a.B.length),a.B=c,c=v(E,r,-1,b,1),IB(a.K,c,a.K.length),a.K=c,c=v(E,r,-1,b,1),IB(a.N,c,a.N.length),a.N=c,b=v(Nq,k,1,b,0),IB(a.f,b,a.f.length),a.f=b);a.s[a.u]=1;a.B[a.u]=0;a.f[a.u]=null}
function nF(a,b){var c,d,e,f,g,h,i;if(0==a.t)return j;h=b;79<b.length&&(h=b.substr(0,76)+"...");h+=(EE(),aa);h+="JME 2013.01 "+new VB+"\n \n";h+=mF(a.t,3)+mF(a.u,3);h+="  0  0  0  0  0  0  0  0999 V2000\n";g=-1.7976931348623157E308;c=1.7976931348623157E308;for(e=1;e<=a.t;++e)a.M[e]>g&&(g=a.M[e]),a.J[e]<c&&(c=a.J[e]);for(e=1;e<=a.t;++e){h+=wF(0.055999999999999994*(a.J[e]-c),10,4)+wF(0.055999999999999994*(g-a.M[e]),10,4)+wF(0,10,4);i=YE(a,e);1==i.length?i+="  ":2==i.length?i+=ca:3<i.length&&(i="Q  ");
h+=ca+i;d=0;0<a.A[e]&&4>a.A[e]?d=4-a.A[e]:0>a.A[e]&&-4<a.A[e]&&(d=4-a.A[e]);i=" 0"+mF(d,3)+"  0  0  0  0  0  0  0";f=-1;for(d=1;d<=a.y;++d)if(a.q[d][0]==e){f=a.q[d][1];break}-1<f?i+=mF(f,3):i+="  0";h+=i+"  0  0\n"}for(e=1;e<=a.u;++e)g=a.s[e],1==a.s[e]?g=1:PF(a,e)&&(g=2),c=mF(a.H[e],3)+mF(a.I[e],3),d=0,1==a.s[e]&&1==a.B[e]?d=1:1==a.s[e]&&2==a.B[e]&&(d=6),1==a.s[e]&&3==a.B[e]&&(d=1,c=mF(a.I[e],3)+mF(a.H[e],3)),1==a.s[e]&&4==a.B[e]&&(d=6,c=mF(a.I[e],3)+mF(a.H[e],3)),h+=c+mF(g,3)+mF(d,3)+"  0  0  0\n";
for(e=1;e<=a.t;++e)0!=a.A[e]&&(h+="M  CHG  1"+mF(e,4)+mF(a.A[e],4)+aa);return h+"M  END\n"}
function xF(a){var b,c,d,e,f,g,h,i,l,m,n,o,q,w,F,z,J,N,S,$,M,gc,yc,Mf,lb,Fd,Gd,Hd,Sa,zc;n=v(E,r,-1,a.t+10,1);o=v(E,r,-1,a.t+10,1);l=v(E,r,-1,a.t+1,1);m=v(E,r,-1,7,1);lb=v(E,r,-1,a.t+1,1);w=v(QF,k,-1,a.t+1,2);F=v(QF,k,-1,a.u+1,2);gc=0;if(0==a.t)return j;eF(a,!0);Mf=!0;for(i=1;i<=a.u;++i)if(9==a.s[i]){Mf=!1;break}if(a.n.r&&Mf){RF(a);xC(a);SF(a,F);TF(a,w,F);var xb,md,We,Ub,pe,nd,od,ab,AG,Kd,t,qa,lm,mm,Rr,df,Ka,nm,om,Dc,pm;xb=v(E,r,-1,a.t+1,1);md=v(E,r,-1,a.t+1,1);ab=v(UF,k,-1,a.t+1,3);var Sr=a.t,qm,
hh,Tr,bg,ej,we,ef;ej=v(UF,k,-1,Sr+2,3);we=v(E,r,-1,100,1);ef=5;bg=0;we[0]=3;ej[1]=Qg;ej[2]=Rg;Tr=2;if(!(3>Sr))for(;ef<we[bg]*we[bg];){hh=0;for(qm=!0;qm&&hh<=bg&&ef>=we[hh]*we[hh];)0==ef%we[hh]?qm=!1:++hh;if(qm){ej[++Tr]=kr(ef);if(Tr>=Sr)break;bg<we.length-1&&(++bg,we[bg]=ef)}ef+=2}for(t=1;t<=a.t;++t){for(qa=om=1;qa<=a.u;++qa)(a.H[qa]==t||a.I[qa]==t)&&(om*=a.i[qa]);nm=a.d[t];18==nm&&(pm=a.o[t],nd=pm.charCodeAt(0)-65+1,od=0,1<pm.length&&(od=pm.charCodeAt(1)-97),0>nd&&(nd=0),0>od&&(od=0),nm=28*nd+od);
df=0;-2>a.A[t]?df=1:-2==a.A[t]?df=2:-1==a.A[t]?df=3:1==a.A[t]?df=4:2==a.A[t]?df=5:2<a.A[t]&&(df=6);Dc=1;ab[t]=kr(om);Dc*=126;ab[t]=fr(ab[t],kr(a.x[t]*Dc));Dc*=7;ab[t]=fr(ab[t],kr(df*Dc));Dc*=7;ab[t]=fr(ab[t],kr(nm*Dc));Dc*=783;ab[t]=fr(ab[t],kr(a.z[t]*Dc))}for(pe=0;!MF(a,xb,ab);){Rr=!1;for(t=1;t<=a.t;++t)xb[t]!=md[t]&&(md[t]=xb[t],Rr=!0);if(Rr){for(t=1;t<=a.t;++t){ab[t]=Pg;for(qa=1;qa<=a.z[t];++qa)ab[t]=or(ab[t],ej[xb[a.G[t][qa]]])}pe=0}else if(0<pe){for(t=1;t<=a.t;++t)ab[t]=Pg;t=1;a:for(;t<=a.t-
1;++t)for(qa=t+1;qa<=a.t;++qa)if(xb[t]==xb[qa]){ab[t]=Qg;break a}}else{for(t=1;t<=a.t;++t){ab[t]=Pg;for(qa=1;qa<=a.z[t];++qa)We=a.G[t][qa],ab[t]=or(ab[t],kr(a.d[We]*a.i[IF(a,t,We)]))}pe=1}MF(a,xb,ab);for(t=1;t<=a.t;++t)ab[t]=kr(md[t]*a.t+xb[t])}for(t=1;t<=a.t;++t)md[t]=xb[t];for(Ka=1;Ka<=a.t;++Ka)for(t=1;t<=a.t;++t)if(md[t]==Ka){a.d[0]=a.d[t];a.A[0]=a.A[t];a.J[0]=a.J[t];a.M[0]=a.M[t];a.z[0]=a.z[t];a.d[t]=a.d[Ka];a.A[t]=a.A[Ka];a.J[t]=a.J[Ka];a.M[t]=a.M[Ka];a.z[t]=a.z[Ka];a.d[Ka]=a.d[0];a.A[Ka]=a.A[0];
a.J[Ka]=a.J[0];a.M[Ka]=a.M[0];a.z[Ka]=a.z[0];md[t]=md[Ka];md[Ka]=Ka;a.o[0]=a.o[t];a.o[t]=a.o[Ka];a.o[Ka]=a.o[0];a.c[0]=a.c[t];a.c[t]=a.c[Ka];a.c[Ka]=a.c[0];a.e[0]=a.e[t];a.e[t]=a.e[Ka];a.e[Ka]=a.e[0];a.x[0]=a.x[t];a.x[t]=a.x[Ka];a.x[Ka]=a.x[0];break}for(t=1;t<=a.y;++t)a.q[t][0]=xb[a.q[t][0]];for(t=1;t<=a.u;++t)a.H[t]=xb[a.H[t]],a.I[t]=xb[a.I[t]],a.H[t]>a.I[t]&&(Kd=a.H[t],a.H[t]=a.I[t],a.I[t]=Kd,1==a.B[t]?a.B[t]=3:2==a.B[t]?a.B[t]=4:3==a.B[t]?a.B[t]=1:4==a.B[t]&&(a.B[t]=2));for(t=1;t<a.u;++t){mm=lm=
a.t;Ub=0;for(qa=t;qa<=a.u;++qa)a.H[qa]<lm?(lm=a.H[qa],mm=a.I[qa],Ub=qa):a.H[qa]==lm&&a.I[qa]<mm&&(mm=a.I[qa],Ub=qa);Kd=a.H[t];a.H[t]=a.H[Ub];a.H[Ub]=Kd;Kd=a.I[t];a.I[t]=a.I[Ub];a.I[Ub]=Kd;Kd=a.s[t];a.s[t]=a.s[Ub];a.s[Ub]=Kd;Kd=a.B[t];a.B[t]=a.B[Ub];a.B[Ub]=Kd;AG=a.f[t];a.f[t]=a.f[Ub];a.f[Ub]=AG}XA(a);wC(a);SF(a,F);TF(a,w,F)}else{SF(a,F);a.i=v(E,r,-1,a.u+1,1);for(q=1;q<=a.u;++q)a.i[q]=a.s[q]}c=1;a.b=v(E,r,-1,a.t+1,1);zc=1;a.b[1]=1;for($=0;;){M=0;for(q=1;q<=a.z[c];++q)if(g=a.G[c][q],0<a.b[g]){if(!(a.b[g]>
a.b[c])&&g!=lb[c]){yc=!0;for(J=1;J<=gc;++J)if(n[J]==c&&o[J]==g||n[J]==g&&o[J]==c){yc=!1;break}yc&&(++gc,n[gc]=c,o[gc]=g)}}else m[++M]=g;if(0==M){if(zc==a.t)break;c=l[$--]}else if(1==M)lb[m[1]]=c,c=m[1],a.b[c]=++zc;else{l[++$]=c;e=0;for(q=1;q<=M;++q)if(i=IF(a,m[q],c),!F[i]){e=m[q];break}if(0==e)for(q=1;q<=M;++q)if(i=IF(a,m[q],c),2==a.i[i]||3==a.i[i]){e=m[q];break}0==e&&(e=m[1]);lb[e]=c;c=e;a.b[e]=++zc}}lb=v(E,r,-1,a.t+1,1);b=v(E,r,-1,a.t+1,1);N=v(QF,k,-1,a.t+1,2);Fd=v(QF,k,-1,a.t+1,2);f=zc=$=0;for(q=
1;q<=a.t;++q)if(1==a.b[q]){c=q;break}a:for(;;){0<f&&(lb[c]=f);b[++zc]=c;for(a.b[c]=0;;){M=e=0;S=a.t+1;q=1;b:for(;q<=a.z[c];++q){g=a.G[c][q];for(z=1;z<=gc;++z)if(n[z]==g&&o[z]==c||n[z]==c&&o[z]==g)continue b;0<a.b[g]&&(++M,a.b[g]<S&&(e=g,S=a.b[g]))}if(0==e){if(0==$)break a;Fd[c]=!0;c=l[$--]}else break}f=c;c=e;1<M&&(l[++$]=f,N[e]=!0)}Gd=v(E,r,-1,a.u+1,1);Hd=v(E,r,-1,a.t+1,1);if(a.n.Ab){var CG=lb,PI=gc,Ur,DG,ih,xe,Vr,Wr,Ia,fj,Xr;ih=v(E,r,-1,a.t+1,1);for(Ia=1;Ia<=a.t;++Ia)ih[b[Ia]]=Ia;Vr=v(QF,k,-1,a.u+
1,2);for(Ia=1;Ia<=a.t;++Ia)Ur=b[Ia],DG=CG[Ur],xe=IF(a,Ur,DG),0!=xe&&(VF(a,xe,ih,Gd,F),Vr[xe]=!0);for(Ia=1;Ia<=a.u;++Ia)Vr[Ia]||VF(a,Ia,ih,Gd,F);Ia=1;a:for(;Ia<=a.t;++Ia)if(!(2>a.z[Ia]||4<a.z[Ia])){Wr=Xr=0;for(fj=1;fj<=a.z[Ia];++fj){xe=IF(a,Ia,a.G[Ia][fj]);if(5==a.i[xe])continue a;1==a.s[xe]&&0!=WF(a,xe,Ia)&&++Xr;2==a.s[xe]&&(Wr=a.G[Ia][fj])}if(0!=Xr)if(0<Wr){var ba=a,FG=Ia,ff=ih,Pc=Hd,ic=void 0,gj=void 0,Ec=void 0,ye=void 0,Fc=void 0,rm=void 0,sm=void 0,tm=void 0,Ld=void 0,Qc=void 0,Rc=void 0,Yr=
void 0,hj=void 0,Md=void 0,ij=void 0,ze=void 0,jj=void 0,Zr=void 0,kj=void 0,Ae=void 0,GG=void 0,gf=void 0,HG=void 0,$r=void 0,lj=void 0,hf=void 0,Rc=1,gj=FG,ic=v(E,r,-1,ba.t+1,1);for(ic[1]=FG;;){Yr=!1;for(Qc=1;Qc<=ba.z[gj];++Qc)if(Ec=ba.G[gj][Qc],!(Ec==ic[1]||Ec==ic[Rc-1]))if(ye=IF(ba,gj,Ec),2==ba.s[ye]&&5!=ba.i[ye]){gj=ic[++Rc]=Ec;Yr=!0;break}if(!Yr)break}if(!(0==Rc%2||2>ba.z[ic[Rc]]||3<ba.z[ic[Rc]])){hf=ic[1];Fc=ic[~~((Rc+1)/2)];Ld=ic[Rc];gf=Ae=ze=Md=0;$r=Zr=!1;for(Qc=1;Qc<=ba.z[hf];++Qc)Ec=ba.G[hf][Qc],
ye=IF(ba,hf,Ec),1!=ba.s[ye]||5==ba.i[ye]||(0==Md?Md=Ec:ze=Ec);0<ff[ze]&&ff[Md]>ff[ze]&&(rm=Md,Md=ze,ze=rm);hj=Md;0==Md&&(hj=ze,Zr=!0);for(Qc=1;Qc<=ba.z[Ld];++Qc)Ec=ba.G[Ld][Qc],ye=IF(ba,Ld,Ec),1!=ba.s[ye]||5==ba.i[ye]||(0==Ae?Ae=Ec:gf=Ec);0<ff[gf]&&ff[Ae]>ff[gf]&&(rm=Ae,Ae=gf,gf=rm);kj=Ae;0==Ae&&(kj=gf,$r=!0);ij=WF(ba,IF(ba,hf,Md),hf);jj=WF(ba,IF(ba,hf,ze),hf);GG=WF(ba,IF(ba,Ld,Ae),Ld);HG=WF(ba,IF(ba,Ld,gf),Ld);1<(0>ij+jj?-(ij+jj):ij+jj)||0!=GG||0!=HG?yp(ba.n,"Bad stereoinfo on allene !"):(sm=ba.J[ic[Rc-
1]]-ba.J[Ld],tm=ba.M[ic[Rc-1]]-ba.M[Ld],lj=Math.sqrt(sm*sm+tm*tm),0.001>lj&&(lj=0.001),0<(ba.M[kj]-ba.M[ic[Rc-1]])*(sm/lj)-(ba.J[kj]-ba.J[ic[Rc-1]])*(tm/lj)?Pc[Fc]=1:Pc[Fc]=-1,Zr&&(Pc[Fc]*=-1),$r&&(Pc[Fc]*=-1),hj==Md&&0>ij&&(Pc[Fc]*=-1),hj==ze&&0>jj&&(Pc[Fc]*=-1),ff[hj]>ff[kj]&&(Pc[Fc]*=-1))}}else b:{var jc=a,kc=Ia,QI=CG,RI=ih,SI=n,TI=o,UI=PI,um=Hd,vm=void 0,Sc=void 0,as=void 0,jh=void 0,xa=void 0,kh=void 0,qd=void 0,mj=void 0,Nd=void 0,Gb=void 0,Z=void 0,zb=void 0,Be=void 0,wm=void 0,Tc=void 0,ia=
void 0,xm=void 0,zb=v(E,r,-1,4,1),wm=v(E,r,-1,4,1),lh=jc,Od=kc,IG=RI,bs=QI,JG=SI,KG=TI,VI=UI,Ab=zb,nj=void 0,Uc=void 0,ym=void 0,zm=void 0,cs=void 0,oj=void 0,oj=-1;0<bs[Od]&&(Ab[++oj]=bs[Od]);for(Uc=1;Uc<=VI;++Uc)JG[Uc]==Od&&(Ab[++oj]=KG[Uc]),KG[Uc]==Od&&(Ab[++oj]=JG[Uc]);for(Uc=oj+1;Uc<lh.z[Od];++Uc){cs=lh.t+1;ym=1;c:for(;ym<=lh.z[Od];++ym){nj=lh.G[Od][ym];for(zm=0;zm<Uc;++zm)if(nj==Ab[zm])continue c;IG[nj]<cs&&(cs=IG[nj],Ab[Uc]=nj)}}0==bs[Od]&&0<lh.x[Od]?(Ab[3]=Ab[2],Ab[2]=Ab[1],Ab[1]=Ab[0],Ab[0]=
-1):0<lh.x[Od]&&(Ab[3]=Ab[2],Ab[2]=Ab[1],Ab[1]=-1);for(xa=mj=kh=jh=xm=qd=Gb=0;4>xa;++xa)0>=zb[xa]||(vm=IF(jc,kc,zb[xa]),wm[xa]=WF(jc,vm,kc),0<wm[xa]?(++Gb,xm=zb[xa],kh=zb[xa]):0>wm[xa]?(++qd,jh=zb[xa],kh=zb[xa]):mj=zb[xa]);Nd=Gb+qd;ia=v(E,r,-1,4,1);Tc=0;if(3==jc.z[kc]){if(1==Gb&&1==qd||3==Nd&&0<Gb&&0<qd){yp(jc.n,"Error in C3H stereospecification !");break b}Be=zb[0];1==Nd?Be=kh:2==Nd&&(Be=mj);Z=GF(jc,kc,Be,zb);ia[0]=kh;ia[1]=-1;ia[2]=Z[2];ia[3]=Z[1];0<Gb?Tc=1:Tc=-1}else if(4==jc.z[kc])if(1==Nd)Z=
GF(jc,kc,kh,zb),ia[0]=Z[0],ia[1]=Z[3],ia[2]=Z[2],ia[3]=Z[1],0<Gb?Tc=1:Tc=-1;else{Be=zb[0];1<mj&&(Be=mj);1==Gb?Be=xm:1==qd&&(Be=jh);Z=GF(jc,kc,Be,zb);Sc=v(E,r,-1,4,1);for(xa=0;4>xa;++xa)vm=IF(jc,kc,Z[xa]),Sc[xa]=WF(jc,vm,kc);if(4==Nd){if(0==Gb||0==qd){yp(jc.n,"Error in C4 stereospecification !");break b}if(1==Gb||1==qd)ia[0]=Z[0],ia[1]=Z[3],ia[2]=Z[2],ia[3]=Z[1],Tc=Sc[0];else{for(xa=0;4>xa;++xa)-1==Sc[xa]&&(Sc[xa]=0);Nd=2}}else if(3==Nd)if(3==Gb||3==qd)ia[0]=Z[0],ia[1]=Z[3],ia[2]=Z[2],ia[3]=Z[1],0<
Gb?Tc=-1:Tc=1;else{1==Gb?Gb=as=1:qd=as=-1;for(xa=0;4>xa;++xa)Sc[xa]==as&&(Sc[xa]=0);Nd=2}if(2==Nd)if(1==Gb&&1==qd)Z[1]==jh?(Z[1]=Z[2],Z[2]=Z[3]):Z[2]==jh&&(Z[2]=Z[3]),ia[0]=xm,ia[1]=jh,ia[2]=Z[2],ia[3]=Z[1],Tc=1;else{if(Sc[0]==Sc[1]||Sc[1]==Sc[2]){yp(jc.n,"Error in C4 stereospecification ! 2/0r");break b}0!=Sc[0]?(ia[0]=Z[0],ia[1]=Z[2],ia[2]=Z[1],ia[3]=Z[3]):(ia[0]=Z[1],ia[1]=Z[3],ia[2]=Z[2],ia[3]=Z[0]);1<Gb?Tc=1:Tc=-1}}var R=ia,pj=zb,eb=void 0;pj[0]==R[1]?(eb=R[0],R[0]=R[1],R[1]=eb,eb=R[2],R[2]=
R[3],R[3]=eb):pj[0]==R[2]?(eb=R[2],R[2]=R[0],R[0]=eb,eb=R[1],R[1]=R[3],R[3]=eb):pj[0]==R[3]&&(eb=R[3],R[3]=R[0],R[0]=eb,eb=R[1],R[1]=R[2],R[2]=eb);pj[1]==R[2]?(eb=R[1],R[1]=R[2],R[2]=eb,eb=R[2],R[2]=R[3],R[3]=eb):pj[1]==R[3]&&(eb=R[1],R[1]=R[3],R[3]=eb,eb=R[2],R[2]=R[3],R[3]=eb);ia[2]==zb[2]?um[kc]=1:ia[2]==zb[3]?um[kc]=-1:yp(jc.n,"Error in stereoprocessing ! - t30");um[kc]*=Tc}}}Sa=new HB;h=v(E,r,-1,a.t+1,1);for(q=1;q<=a.t;++q)h[b[q]]=q;for(q=1;q<=a.t;++q){c=b[q];N[c]&&(Sa.b.b+=wa);0<lb[q]&&XF(a,
c,lb[c],Sa,Gd);var mh=w[c],Bb=void 0,qj=void 0,nh=void 0,O=void 0,O=Wc,Bb=!1;0!=a.A[c]&&(Bb=!0);0!=Hd[c]&&(Bb=!0);nh=-1;for(qj=1;qj<=a.y;++qj)if(a.q[qj][0]==c){nh=a.q[qj][1];break}-1<nh&&(Bb=!0);a.n.zb&&0<a.c[c]&&(Bb=!0,nh=1);switch(a.d[c]){case 2:O=Eb;break;case 3:mh?O="c":O=Ib;break;case 4:mh?(O=sf,0<a.x[c]&&(Bb=!0)):O=fc;break;case 5:mh?O="o":O=qc;break;case 7:mh?(O="p",0<a.x[c]&&(Bb=!0)):O=sc;break;case 8:mh?O=Zf:O=Hc;break;case 13:mh?O=ag:O=Jc;Bb=!0;break;case 6:O=Kc;Bb=!0;break;case 9:O=Sb;
break;case 10:O=Mb;break;case 11:O=Hb;break;case 12:O=Zb;break;case 1:O=Xb;Bb=!0;break;case 19:O=tc;Bb=!0;break;case 20:O=uc;Bb=!0;break;case 21:O=vc;Bb=!0;break;case 22:O=wc;Bb=!0;break;case 18:Bb=!0,O=a.o[c],(C(O,za)||C(O,ad)||C(O,wb))&&(Bb=!1)}Bb&&(O=Xc+O,1==Hd[c]?O+=vb:-1==Hd[c]&&(O+="@@"),1==a.x[c]?O+=Xb:1<a.x[c]&&(O+=Xb+a.x[c]),0!=a.A[c]&&(0<a.A[c]?O+=Aa:O+=Da,1<Vi(a.A[c])&&(O+=Vi(a.A[c]))),-1<nh&&(O+=nb+nh),O+=Zc);Fm(Sa.b,O);for(z=1;z<=gc;++z)if(n[z]==c||o[z]==c)d=o[z],d==c&&(d=n[z]),h[c]<
h[d]&&XF(a,n[z],o[z],Sa,Gd),9<z&&(Sa.b.b+="%"),Em(Sa,j+(new Q(z)).b);Fd[c]&&(Sa.b.b+=ya)}return Sa.b.b}
function nC(a,b){var c,d,e,f;f=0;for(e=1;e<=a.u;++e)c=a.H[e],d=a.I[e],c!=b&&d!=b&&(++f,a.H[f]=c,c>b&&--a.H[f],a.I[f]=d,d>b&&--a.I[f],a.s[f]=a.s[e],a.B[f]=a.B[e],a.K[f]=a.K[e],a.N[f]=a.N[e],a.f[f]=a.f[e]);a.u=f;for(e=b;e<a.t;++e){a.d[e]=a.d[e+1];a.A[e]=a.A[e+1];a.J[e]=a.J[e+1];a.M[e]=a.M[e+1];a.x[e]=a.x[e+1];a.c[e]=a.c[e+1];a.e[e]=a.e[e+1];a.z[e]=a.z[e+1];a.o[e]=a.o[e+1];for(f=1;f<=a.z[e];++f)a.G[e][f]=a.G[e+1][f]}--a.t;if(0==a.t)NE(a.n);else{for(e=1;e<=a.t;++e){d=0;for(f=1;f<=a.z[e];++f)c=a.G[e][f],
c==b?++a.x[e]:(c>b&&--c,a.G[e][++d]=c);a.z[e]=d}e=1;a:for(;e<=a.y;++e)if(a.q[e][0]==b){for(f=e;f<a.y;++f)a.q[f][0]=a.q[f+1][0],a.q[f][1]=a.q[f+1][1];--a.y;break a}for(e=1;e<=a.y;++e)a.q[e][0]>b&&--a.q[e][0]}}
function oC(a,b){var c,d,e,f;c=a.H[b];d=a.I[b];for(e=b;e<a.u;++e)a.H[e]=a.H[e+1],a.I[e]=a.I[e+1],a.s[e]=a.s[e+1],a.B[e]=a.B[e+1],a.K[e]=a.K[e+1],a.N[e]=a.N[e+1],a.f[e]=a.f[e+1];--a.u;f=0;for(e=1;e<=a.z[c];++e)a.G[c][e]!=d&&(a.G[c][++f]=a.G[c][e]);a.z[c]=f;f=0;for(e=1;e<=a.z[d];++e)a.G[d][e]!=c&&(a.G[d][++f]=a.G[d][e]);a.z[d]=f;c<d&&(f=c,c=d,d=f);0==a.z[c]&&nC(a,c);0==a.z[d]&&nC(a,d)}
function RF(a){var b,c,d;if(!a.n.M){c=a.t;a:for(;1<=c;--c)if(d=a.G[c][1],1==a.d[c]&&1==a.z[c]&&0==a.A[c]&&1!=a.d[d]&&18>a.d[d]){for(b=1;b<=a.y;++b)if(a.q[b][0]==c)continue a;b=IF(a,c,d);1==a.s[b]&&(0==a.B[b]||!a.n.Ab)&&nC(a,c)}}}function OF(a){var b;b=a.d.length;a.G=Cq([b,7]);a.z=v(E,r,-1,b,1);for(b=1;b<=a.t;++b)a.z[b]=0;for(b=1;b<=a.u;++b)6>a.z[a.H[b]]&&(a.G[a.H[b]][++a.z[a.H[b]]]=a.I[b]),6>a.z[a.I[b]]&&(a.G[a.I[b]][++a.z[a.I[b]]]=a.H[b])}
function TF(a,b,c){var d,e,f,g,h,i,l,m,n;a.i=v(E,r,-1,a.u+1,1);n=v(QF,k,-1,a.t+1,2);for(i=1;i<=a.t;++i){n[i]=!1;b[i]=!1;a:{d=void 0;for(d=1;d<=a.z[i];++d)if(c[IF(a,i,a.G[i][d])]){d=!0;break a}d=!1}if(d&&!(3<a.z[i]+a.x[i]))switch(a.d[i]){case 3:case 4:case 7:case 5:case 8:case 13:n[i]=!0;break;case 18:n[i]=!0}}for(h=1;h<=a.u;++h)1==a.s[h]?a.i[h]=1:PF(a,h)?a.i[h]=2:3==a.s[h]&&(a.i[h]=3);h=1;a:for(;h<=a.u;++h)if(c[h]&&(f=a.H[h],g=a.I[h],n[f]&&n[g])){d=v(QF,k,-1,a.t+1,2);for(i=1;i<=a.z[f];++i)e=a.G[f][i],
e!=g&&n[e]&&(d[e]=!0);for(m=!1;;){for(i=1;i<=a.t;++i){m=!1;if(d[i]&&n[i]&&i!=f)for(l=1;l<=a.z[i];++l){e=a.G[i][l];if(e==g){b[f]=!0;b[g]=!0;a.i[h]=5;continue a}!d[e]&&n[e]&&(m=d[e]=!0)}if(m)break}if(!m)break}}}function vC(a){var b,c,d;for(d=1;d<=a.u;++d)b=a.H[d],c=a.I[d],a.K[d]=I(H(yB((a.J[b]+a.J[c])/2))),a.N[d]=I(H(yB((a.M[b]+a.M[c])/2)))}function SF(a,b){var c;for(c=1;c<=a.u;++c)$E(a,a.H[c],a.I[c])?b[c]=!1:b[c]=!0}function YE(a,b){var c;c=(EE(),IA)[a.d[b]];18==a.d[b]&&(c=a.o[b]);return c}
function PF(a,b){return 2==a.s[b]?!0:!1}function $E(a,b,c){var d,e,f,g;g=1;a.b=v(E,r,-1,a.t+1,1);for(d=1;d<=a.t;++d)a.b[d]=0;for(d=a.b[b]=1;d<=a.z[b];++d)a.G[b][d]!=c&&(a.b[a.G[b][d]]=++g);for(f=!1;;){for(d=1;d<=a.t;++d){f=!1;if(0<a.b[d]&&d!=b)for(e=1;e<=a.z[d];++e)0==a.b[a.G[d][e]]&&(a.b[a.G[d][e]]=++g,f=!0);if(f)break}if(!f)break}return 0==a.b[c]}
function sF(a){var b,c;a.n.P=!0;if(a.n.zb)a.k=-1,0==a.c[a.D]?a.c[a.D]=4:a.c[a.D]=0;else{for(b=1;b<=a.y;++b)if(a.D==a.q[b][0]){if(-1==a.n.w){for(;b<a.y;++b)a.q[b][0]=a.q[b+1][0],a.q[b][1]=a.q[b+1][1];--a.y}else c=a.n.w,a.n.q&&(a.n.db||++a.r,c=a.r),a.q[b][1]=c;return}b=a.q.length;++a.y>b-1&&(b=Cq([b+5,2]),IB(a.q,b,a.q.length),a.q=b);a.q[a.y][0]=a.D;c=a.n.w;a.n.q&&(a.n.db||++a.r,c=a.r);a.q[a.y][1]=c}}function GA(a){var b;a.y=0;a.r=0;xF(a);for(b=1;b<=a.t;++b)a.D=b,sF(a);a.D=0}
function kF(a){var b,c;b=v(qC,k,-1,4,1);rC(a,b);c=a.n.A.c;a.n.x||(c-=a.n.X);return b[0]<~~(c/2)-24?1:b[0]>~~(c/2)+24?3:2}function vF(a){var b,c,d,e,f;e=f=0;for(d=1;d<=a.u;++d)b=a.J[a.H[d]]-a.J[a.I[d]],c=a.M[a.H[d]]-a.M[a.I[d]],f+=Math.sqrt(b*b+c*c);0<a.u?(f/=a.u,e=25/f):1<a.t&&(e=75/Math.sqrt((a.J[1]-a.J[2])*(a.J[1]-a.J[2])+(a.M[1]-a.M[2])*(a.M[1]-a.M[2])));for(d=1;d<=a.t;++d)a.J[d]*=e,a.M[d]*=e}
function lF(a,b,c){var d,e,f,g,h;if(0==c.indexOf(Xc)&&AB(c,Zc))c=c.substr(1,c.length-1-1),a.d[b]=18,a.o[b]=c,a.x[b]=0;else{f=!1;-1<c.indexOf(Ba)&&(f=!0);-1<c.indexOf(pb)&&(f=!0);-1<c.indexOf(na)&&(f=!0);-1<c.indexOf("!")&&(f=!0);d=c.indexOf(nb);e=c.indexOf(Xb);g=Ui(c.indexOf(Aa),c.indexOf(Da));if(-1<d){h=mn(c,d+1);try{a.n.w=aA(h,10)}catch(i){if(i=$h(i),y(i,112))a.n.w=0;else throw i;}a.D=b;sF(a);c=c.substr(0,d-0);a.D=0}if(f)a.o[b]=c,a.d[b]=18,a.x[b]=0;else{d=c;0<e?d=c.substr(0,e-0):0<g&&(d=c.substr(0,
g-0));a.d[b]=C(d,Ib)?3:C(d,Eb)?2:C(d,fc)?4:C(d,qc)?5:C(d,sc)?7:C(d,Hc)?8:C(d,Sb)?9:C(d,Mb)?10:C(d,Hb)?11:C(d,Zb)?12:C(d,Xb)?1:C(d,Jc)?13:C(d,Kc)?6:C(d,tc)?19:C(d,uc)?20:C(d,vc)?21:C(d,wc)?22:18;18==a.d[b]&&(a.o[b]=d);c+=ca;d=0;0<e&&(d=1,e=zB(c,++e),48<=e&&57>=e&&(d=e-48));18==a.d[b]&&(a.x[b]=d);d=0;if(0<g&&(e=zB(c,g++),43==e?d=1:45==e&&(d=-1),0!=d&&(e=zB(c,g++),!(48<=e&&57>=e)))){for(;43==e;)++d,e=zB(c,g++);for(;45==e;)--d,e=zB(c,g++)}a.A[b]=d}}}
function LA(a,b,c){var d,e;a.k=1;c&&(a.k=-1);b=new uA(b);try{for(;b.k=nA(b,b.b),b.k<b.j;)d=uB(aA(qA(b),10)).b,c=e=uB(aA(qA(b),10)).b,(0>c||6<c)&&(c=0),a.c[d]=c}catch(f){if(f=$h(f),y(f,112))Cm(f);else throw f;}}function XF(a,b,c,d,e){b=IF(a,b,c);5!=a.i[b]&&PF(a,b)?d.b.b+=sb:3==a.s[b]?d.b.b+=na:9==a.s[b]?(e=ub,a=a.f[b],null!=a&&(e=a),Fm(d.b,e)):1==e[b]?d.b.b+=Za:-1==e[b]&&(d.b.b+=Yc)}
function tF(a,b){var c,d;if(1==a.s[b])if(c=a.H[b],d=a.I[b],2>a.z[c]&&2>a.z[d])a.B[b]=0,yp(a.n,"Stereomarking meaningless on this bond !");else switch(a.B[b]){case 0:a.z[d]<=a.z[c]?a.B[b]=1:a.B[b]=3;break;case 1:a.B[b]=2;break;case 2:2<a.z[d]?a.B[b]=3:a.B[b]=1;break;case 3:a.B[b]=4;break;case 4:2<a.z[c]?a.B[b]=1:a.B[b]=3}else 2==a.s[b]?10==a.B[b]?a.B[b]=0:a.B[b]=10:yp(a.n,"Stereomarking allowed only on single and double bonds!")}
function VF(a,b,c,d,e){var f,g,h,i,l,m,n,o,q;if(!(2!=a.s[b]||5==a.i[b])&&(10==a.B[b]||a.n.p&&!e[b]))if(e=a.H[b],f=a.I[b],!(2>a.z[e]||2>a.z[f]||3<a.z[e]||3<a.z[f])){c[e]>c[f]&&(g=e,e=f,f=g);n=m=b=0;o=!1;for(l=1;l<=a.z[e];++l)g=a.G[e][l],g!=f&&(0==m?m=g:n=g);0<n&&c[m]>c[n]&&(g=m,m=n,n=g);i=IF(a,e,m);0!=d[i]?b=m:1==a.s[i]&&5!=a.i[i]&&(b=m);0==b&&(i=IF(a,e,n),0!=d[i]?b=n:1==a.s[i]&&5!=a.i[i]&&(b=n));c[b]>c[e]&&(o=!0);h=n=m=0;for(l=1;l<=a.z[f];++l)g=a.G[f][l],g!=e&&(0==n?n=g:h=g);0<h&&c[n]<c[h]&&(g=n,
n=h,h=g);i=IF(a,f,n);1==a.s[i]&&5!=a.i[i]&&0==d[i]&&(m=n);0==m&&(i=IF(a,f,h),1==a.s[i]&&5!=a.i[i]&&(m=h));if(!(0==b||0==m))if(i=a.J[f]-a.J[e],g=a.M[f]-a.M[e],l=Math.sqrt(i*i+g*g),0.001>l&&(l=0.001),g/=l,i/=l,n=(a.M[b]-a.M[e])*i-(a.J[b]-a.J[e])*g,q=(a.M[m]-a.M[e])*i-(a.J[m]-a.J[e])*g,2>(0>=n?0-n:n)||2>(0>=q?0-q:q))yp(a.n,"Not unique E/Z geometry !");else{h=IF(a,b,e);f=IF(a,m,f);m=1;if(0==d[h]){for(l=1;l<=a.z[b];++l)if(g=a.G[b][l],g!=e&&(i=IF(a,b,g),0!=d[i])){c[g]>c[b]?m=-d[i]:m=d[i];break}d[h]=m}0==
d[f]&&(0<n&&0<q||0>n&&0>q?d[f]=-d[h]:d[f]=d[h],o&&(d[f]=-d[f]))}}}function NF(a,b){var c,d,e;e=0;for(d=1;d<=a.z[b];++d)if(c=IF(a,b,a.G[b][d]),1==a.s[c])e+=1;else if(PF(a,c))e+=2;else if(3==a.s[c])e+=3;else if(9==a.s[c])return-1;return e}function WF(a,b,c){var d;d=a.B[b];return 1>d||4<d?0:1==d&&a.H[b]==c?1:2==d&&a.H[b]==c?-1:3==d&&a.I[b]==c?1:4==d&&a.I[b]==c?-1:0}
function wC(a){var b;for(b=1;b<=a.t;++b){var c=a,d=b,e=void 0,e=NF(c,d);if(-1==e)c.x[d]=0;else{switch(c.d[d]){case 1:2==e?c.A[d]=1:c.A[d]=0;c.x[d]=0;break;case 2:3==e||5==e?(c.x[d]=0,c.A[d]=0):3>e?c.x[d]=3-e-c.A[d]:4==e?(c.A[d]=-1,c.x[d]=0):5<e&&(c.A[d]=e-5,c.x[d]=0);break;case 3:case 6:4>e?0<c.A[d]?c.x[d]=2-e+c.A[d]:0>c.A[d]?c.x[d]=2-e-c.A[d]:c.x[d]=4-e:(c.A[d]=e-4,c.x[d]=4-e+c.A[d]);break;case 4:case 7:3>e?c.x[d]=3-e+c.A[d]:3==e?0>c.A[d]?(c.A[d]=0,c.x[d]=0):0<c.A[d]?c.x[d]=c.A[d]:c.x[d]=0:(c.A[d]=
4==e?1:6==e?-1:e-5,c.x[d]=0);break;case 5:2==e&&(0>c.A[d]?(c.A[d]=0,c.x[d]=0):0<c.A[d]?c.x[d]=c.A[d]:c.x[d]=0);2<e&&(c.A[d]=e-2);c.x[d]=2-e+c.A[d];break;case 8:case 13:2>e?c.x[d]=2-e+c.A[d]:2==e?0>c.A[d]?(c.A[d]=0,c.x[d]=0):0<c.A[d]?c.x[d]=c.A[d]:c.x[d]=0:3==e?2==c.z[d]?(c.A[d]=0,c.x[d]=1):(c.A[d]=1,c.x[d]=0):4==e?(c.A[d]=0,c.x[d]=0):5==e?(c.A[d]=0,c.x[d]=1):(c.A[d]=e-6,c.x[d]=0);break;case 9:case 10:case 11:case 12:1<=e&&(c.A[d]=e-1);c.x[d]=1-e+c.A[d];2<e&&(c.A[d]=0,c.x[d]=0);break;case 19:case 18:c.x[d]=
0}0>c.x[d]&&(c.x[d]=0)}}}function OE(a){FF(this);this.n=a;this.y=this.u=this.t=0}
function dF(a,b){var c,d,e,f,g,h,i;OE.call(this,a);f=j;h=bF(b);if(null!=h){i=new tA(b,h,!0);for(e=1;4>=e;++e)f=cF(i,h);g=uB(aA(ln(f.substr(0,3)),10)).b;c=uB(aA(ln(f.substr(3,3)),10)).b;for(e=1;e<=g;++e)uF(this),f=cF(i,h),this.J[e]=(new tB(qB(ln(f.substr(0,10))))).b,this.M[e]=-(new tB(qB(ln(f.substr(10,10))))).b,d=34,34>f.length&&(d=f.length),d=ln(f.substr(31,d-31)),lF(this,e,d),62<=f.length&&(f=ln(f.substr(60,3)),0<f.length&&(f=uB(aA(f,10)).b,0<f&&(this.D=e,a.w=f,sF(this),this.D=0)));for(e=1;e<=c;++e)tC(this),
f=cF(i,h),this.H[e]=uB(aA(ln(f.substr(0,3)),10)).b,this.I[e]=uB(aA(ln(f.substr(3,3)),10)).b,g=uB(aA(ln(f.substr(6,3)),10)).b,1==g?this.s[e]=1:2==g?this.s[e]=2:3==g?this.s[e]=3:this.s[e]=9,d=0,11<f.length&&(d=uB(aA(ln(f.substr(9,3)),10)).b),1==g&&1==d&&(this.s[e]=1,this.B[e]=1),1==g&&6==d&&(this.s[e]=1,this.B[e]=2);OF(this);vF(this);ME(this);for(XA(this);(i.k=nA(i,i.b),i.k<i.j)&&!(null==(f=qA(i)));){if(0==f.indexOf("M  END"))break;if(0==f.indexOf("M  CHG")){g=new sA(f);qA(g);qA(g);h=uB(aA(qA(g),10)).b;
for(e=1;e<=h;++e)c=uB(aA(qA(g),10)).b,this.A[c]=uB(aA(qA(g),10)).b}if(0==f.indexOf("M  APO")){g=new sA(f);qA(g);qA(g);h=uB(aA(qA(g),10)).b;for(e=1;e<=h;++e)c=uB(aA(qA(g),10)).b,f=uB(aA(qA(g),10)).b,this.D=c,W(this,0),lF(this,this.t,tc+f),this.D=0}}RF(this);XA(this)}}
function WA(a,b){var c,d,e,f,g;OE.call(this,a);0==b.indexOf(da)&&(b=b.substr(1,b.length-1));AB(b,da)&&(b=b.substr(0,b.length-1-0));if(1>b.length)this.t=0;else{try{f=new sA(b);d=uB(aA(qA(f),10)).b;e=uB(aA(qA(f),10)).b;for(c=1;c<=d;++c)g=qA(f),uF(this),lF(this,this.t,g),this.J[c]=(new tB(qB(qA(f)))).b,this.M[c]=-(new tB(qB(qA(f)))).b;for(c=1;c<=e;++c)if(tC(this),this.H[c]=uB(aA(qA(f),10)).b,this.I[c]=uB(aA(qA(f),10)).b,this.s[c]=uB(aA(qA(f),10)).b,-1==this.s[c])this.s[c]=1,this.B[c]=1;else if(-2==this.s[c])this.s[c]=
1,this.B[c]=2;else if(-5==this.s[c])this.s[c]=2,this.B[c]=10;else if(11==this.s[c]||12==this.s[c]||13==this.s[c]||14==this.s[c])this.B[c]=this.s[c],this.s[c]=9;OF(this);vF(this);ME(this)}catch(h){h=$h(h);if(y(h,112)){h.oc();this.t=0;return}throw h;}RF(this);XA(this)}}
function fF(a,b,c){var d,e,f;OE.call(this,a);f=v(E,r,-1,b.t+1,1);for(a=1;a<=b.t;++a)b.b[a]==c&&(uF(this),this.d[this.t]=b.d[a],this.J[this.t]=b.J[a],this.M[this.t]=b.M[a],this.A[this.t]=b.A[a],this.x[this.t]=b.x[a],this.c[this.t]=b.c[a],this.e[this.t]=b.e[a],this.o[this.t]=b.o[a],f[a]=this.t);for(a=1;a<=b.u;++a)if(d=b.H[a],e=b.I[a],!(b.b[d]!=c&&b.b[e]!=c)&&!(b.b[d]!=c||b.b[e]!=c))tC(this),this.s[this.u]=b.s[a],this.B[this.u]=b.B[a],this.H[this.u]=f[d],this.I[this.u]=f[e],this.f[this.u]=b.f[a];for(a=
1;a<=b.y;++a)d=b.q[a][0],d==c&&(++this.y,this.q[this.y][0]=f[d],this.q[this.y][1]=b.q[a][1]);this.k=b.k;XA(this);ME(this)}
function oF(a,b,c){var d,e,f,g,h;OE.call(this,a);for(a=1;a<=c;++a)this.t+=b[a].t,this.u+=b[a].u,this.y+=b[a].y;this.d=v(E,r,-1,this.t+1,1);this.A=v(E,r,-1,this.t+1,1);this.x=v(E,r,-1,this.t+1,1);this.c=v(E,r,-1,this.t+1,1);this.e=v(Nq,k,1,this.t+1,0);this.J=v(qC,k,-1,this.t+1,1);this.M=v(qC,k,-1,this.t+1,1);this.o=v(Nq,k,1,this.t+1,0);this.H=v(E,r,-1,this.u+1,1);this.I=v(E,r,-1,this.u+1,1);this.s=v(E,r,-1,this.u+1,1);this.f=v(Nq,k,1,this.u+1,0);this.B=v(E,r,-1,this.u+1,1);this.q=Cq([this.y+1,2]);
f=h=g=e=0;for(a=1;a<=c;++a){for(d=1;d<=b[a].t;++d)++e,this.d[e]=b[a].d[d],this.J[e]=b[a].J[d],this.M[e]=b[a].M[d],this.A[e]=b[a].A[d],this.x[e]=b[a].x[d],this.c[e]=b[a].c[d],this.e[e]=b[a].e[d],this.o[e]=b[a].o[d];for(d=1;d<=b[a].u;++d)++g,this.s[g]=b[a].s[d],this.B[g]=b[a].B[d],this.H[g]=b[a].H[d]+f,this.I[g]=b[a].I[d]+f,this.f[g]=b[a].f[d];for(d=1;d<=b[a].y;++d)++h,this.q[h][0]=b[a].q[d][0]+f,this.q[h][1]=b[a].q[d][1];f=e}XA(this);ME(this)}
function KE(a){var b;FF(this);this.n=a.n;this.t=a.t;this.u=a.u;this.y=a.y;this.d=v(E,r,-1,this.t+1,1);IB(a.d,this.d,this.t+1);this.A=v(E,r,-1,this.t+1,1);IB(a.A,this.A,this.t+1);this.x=v(E,r,-1,this.t+1,1);IB(a.x,this.x,this.t+1);this.c=v(E,r,-1,this.t+1,1);IB(a.c,this.c,this.t+1);this.e=v(Nq,k,1,this.t+1,0);IB(a.e,this.e,this.t+1);this.J=v(qC,k,-1,this.t+1,1);IB(a.J,this.J,this.t+1);this.M=v(qC,k,-1,this.t+1,1);IB(a.M,this.M,this.t+1);this.o=v(Nq,k,1,this.t+1,0);IB(a.o,this.o,this.t+1);this.H=v(E,
r,-1,this.u+1,1);IB(a.H,this.H,this.u+1);this.I=v(E,r,-1,this.u+1,1);IB(a.I,this.I,this.u+1);this.s=v(E,r,-1,this.u+1,1);IB(a.s,this.s,this.u+1);this.f=v(Nq,k,1,this.u+1,0);IB(a.f,this.f,this.u+1);this.B=v(E,r,-1,this.u+1,1);IB(a.B,this.B,this.u+1);this.q=Cq([this.y+1,2]);for(b=1;b<=this.y;++b)this.q[b][0]=a.q[b][0],this.q[b][1]=a.q[b][1];this.k=a.k}
function wF(a,b,c){var d,e,f;if(0==c)return mF(G(a),b);9.0E-4>(0>=a?0-a:a)&&(a=0);a=I(H(yB(a*Math.pow(10,c))))/Math.pow(10,c);e=j+(new tB(a)).b;d=ht(e,it(46));0>d&&(e+=Ya,d=ht(e,it(46)));f=e.length;for(a=1;a<=c-f+d+1;++a)e+=cb;if(0==b)return e;e.length>b&&(e=ub);c=j;for(a=1;a<=b-e.length;++a)c+=ca;return c+e}function bF(a){var b;b=new tA(a,aa,!0);if(4<mA(b))return aa;b=new tA(a,Ng,!0);return 4<mA(b)?Ng:null}
function mF(a,b){var c,d,e;d=j+(new Q(a)).b;d.length>b&&(d=ub);e=j;for(c=1;c<=b-d.length;++c)e+=ca;return e+d}function cF(a,b){for(var c,d;a.k=nA(a,a.b),a.k<a.j;){d=qA(a);if(C(d,b))return ca;for(qA(a);;)if(c=d.charCodeAt(d.length-1),124==c||10==c||13==c){if(d=d.substr(0,d.length-1-0),0==d.length)return ca}else break;return d}return null}s(532,1,{127:1},OE,dF,WA,fF,oF,KE);_.b=null;_.i=null;_.k=0;_.n=null;_.p=!1;_.r=0;_.t=0;_.u=0;_.v=0;_.w=!1;_.y=0;_.C=!1;_.D=0;_.E=0;_.F=0;_.L=0;_.O=0;
function zp(){zp=u;Ap=new vz(Xb)}
function iF(a,b){var c;zp();var d;AE.call(this);this.b=new Zx("help");this.c=b;K(this,(EE(),QA));this.Tb&&Ry(this.Tb.d,!1);Oy(this,!1);d=Jw(b);if(1==a)YF||(YF=new jz(d),Lw(YF,-80,-100)),this.i=YF,c=TA(b),this.Tb&&Qy(this.Tb.d.I.c,Ic),px(this,new Ux(2)),this.d=new vz(c+"     "),L(this,this.d,Lb),d=new tx,L(d,this.f,null),this.c.ub&&(c=new Zx("Submit"),L(d,c,null)),L(this,d,Lc),uz(this.d,ln(pn(this.d.Tb.b.pb,Fg))),this.Tb&&Ry(this.Tb.d,!0),Oy(this,!0);else if(2==a)ZF||(ZF=new jz(d),Lw(ZF,-120,13*b.X-
80)),this.i=ZF,this.Tb&&Qy(this.Tb.d.I.c,"nonstandard atom"),px(this,new Ux(2)),c=new tx,L(c,new cz("atomic SMILES",1),null),L(this,c,oc),c=Xb,Ap&&(c=pn(Ap.Tb.b.pb,Fg)),Ap=new wz(c,8),L(this,Ap,Lb),c=new tx,L(c,this.f,null),L(this,c,Lc);else{$F||($F=new jz(d),Lw($F,12*b.X+10,-20));var e,f;d="about "+(EE(),AA);this.Tb&&Qy(this.Tb.d.I.c,d);px(this,new Zy(0));K(this,QA);L(this,new cz(AA+" Molecular Editor v2013.01",1),null);L(this,new cz("Peter Ertl and Bruno Bienfait",1),null);for(c=FE,e=0,f=c.length;e<
f;++e)d=c[e],L(this,new cz(d,1),null);c=new tx;L(c,this.b,null);L(c,this.f,null);L(this,c,null);this.i=$F}Ny(this);c=this.i;AD(this.Tb.d,c.b,c.c);!Iw(this)&&mx(this);Xw(this)}s(533,524,zh,iF);_.gf=function(a){var b,c;if(a.i==this.b){try{b=new Vz(this.c.G),c=Uz(b),$wnd.open(c,"_top ",j)}catch(d){if(d=$h(d),y(d,104))b=d,Nz(),a=this.c,b=b.i,a.gb=!0,a.I="ERROR - "+b;else throw d;}return!0}return!1};_.c=null;var $F=_.d=null,Ap,ZF=null,YF=null;function aG(a,b){Hw(b)==a.b?K(b,(ey(),my)):K(b,a.b)}
function bG(a){var b,c,d,e;e=j;d=!1;Hw(cG)!=a.b?(e=za,d=!0):Hw(dG)!=a.b?(e="!#6",d=!0):Hw(eG)!=a.b?(K(fG,(ey(),my)),K(gG,my),K(hG,my),K(iG,my),e="F,Cl,Br,I"):(b=Hw(jG)!=a.b,c=Hw(kG)!=a.b,Hw(lG)!=a.b&&(b?e+="c,":c?e+="C,":e+="#6,"),Hw(mG)!=a.b&&(b?e+="n,":c?e+="N,":e+="#7,"),Hw(nG)!=a.b&&(b?e+="o,":c?e+="O,":e+="#8,"),Hw(oG)!=a.b&&(b?e+="s,":c?e+="S,":e+="#16,"),Hw(pG)!=a.b&&(b?e+="p,":c?e+="P,":e+="#15,"),Hw(fG)!=a.b&&(e+="F,"),Hw(gG)!=a.b&&(e+="Cl,"),Hw(hG)!=a.b&&(e+="Br,"),Hw(iG)!=a.b&&(e+="I,"),
AB(e,Ba)&&(e=e.substr(0,e.length-1-0)),1>e.length&&!a.c&&(b?e=ad:c?e=wb:(K(cG,(ey(),my)),e=za)));b=j;d&&Hw(jG)!=a.b&&(b+=";a");d&&Hw(kG)!=a.b&&(b+=";A");Hw(qG)!=a.b&&(b+=";R");Hw(rG)!=a.b&&(b+=";!R");Hw(cG)!=a.b&&0<b.length?e=b.substr(1,b.length-1):e+=b;d=sG.Tb.b.pb.selectedIndex;0<d&&(--d,e+=";H"+d);d=tG.Tb.b.pb.selectedIndex;0<d&&(--d,e+=";D"+d);Hw(uG)!=a.b&&(e="~");Hw(vG)!=a.b&&(e=nb);Hw(wG)!=a.b&&(e=vb);Hw(xG)!=a.b&&(e="!@");uz(a.e,e)}
function yG(a){zG(a);BG(a);var b=sG.Tb.b;rv(b,0);b.pb.options[0].selected=!0;b=tG.Tb.b;rv(b,0);b.pb.options[0].selected=!0;K(jG,a.b);K(kG,a.b);K(qG,a.b);K(rG,a.b);K(sG,a.b);K(tG,a.b);EG(a)}function zG(a){K(lG,a.b);K(mG,a.b);K(nG,a.b);K(oG,a.b);K(pG,a.b);K(fG,a.b);K(gG,a.b);K(hG,a.b);K(iG,a.b)}function BG(a){K(cG,a.b);K(dG,a.b);K(eG,a.b)}function EG(a){K(uG,a.b);K(vG,a.b);K(wG,a.b);K(xG,a.b);a.c=!1}
function jF(a){Py.call(this,"Atom/Bond Query");this.f=new Zx(this.ff());Cx(this.p,new BE(this));this.b=(EE(),QA);this.d=a;LG||(a=Jw(a),LG=new jz(a),Lw(LG,-150,-50));this.i=LG;px(this,new Yy);K(this,this.b);a=new tx;px(a,new Cy(0,3,1));L(a,new bz("Atom type :"),null);cG=new Zx(Cb);dG=new Zx("Any except C");eG=new Zx("Halogen");L(a,cG,null);L(a,dG,null);L(a,eG,null);L(this,a,null);a=new tx;px(a,new Cy(0,3,1));L(a,new cz("Or select one or more from the list :",0),null);L(this,a,null);a=new tx;px(a,new Cy(0,
3,1));lG=new Zx(Ib);mG=new Zx(fc);nG=new Zx(qc);oG=new Zx(Hc);pG=new Zx(sc);fG=new Zx(Sb);gG=new Zx(Mb);hG=new Zx(Hb);iG=new Zx(Zb);L(a,lG,null);L(a,mG,null);L(a,nG,null);L(a,oG,null);L(a,pG,null);L(a,fG,null);L(a,gG,null);L(a,hG,null);L(a,iG,null);L(this,a,null);a=new tx;px(a,new Cy(0,3,1));sG=new cy;by(sG,Cb);by(sG,cb);by(sG,fb);by(sG,kb);by(sG,mb);L(a,new bz("Number of hydrogens :  "),null);L(a,sG,null);L(this,a,null);a=new tx;px(a,new Cy(0,3,1));tG=new cy;by(tG,Cb);by(tG,cb);by(tG,fb);by(tG,kb);
by(tG,mb);by(tG,"4");by(tG,"5");by(tG,"6");L(a,new cz("Number of connections :",0),null);L(a,tG,null);L(a,new cz(" (H's don't count.)",0),null);L(this,a,null);a=new tx;px(a,new Cy(0,3,1));L(a,new bz("Atom is :"),null);jG=new Zx(Db);L(a,jG,null);kG=new Zx("Nonaromatic");L(a,kG,null);qG=new Zx(Gc);L(a,qG,null);rG=new Zx(nc);L(a,rG,null);L(this,a,null);a=new tx;K(a,sy(Hw(this)));px(a,new Cy(0,3,1));L(a,new bz("Bond is :"),null);uG=new Zx(Cb);L(a,uG,null);vG=new Zx(Db);L(a,vG,null);wG=new Zx(Gc);L(a,
wG,null);xG=new Zx(nc);L(a,xG,null);L(this,a,null);a=new tx;px(a,new Cy(1,3,1));this.e=new wz(za,20);L(a,this.e,null);L(a,new Zx(Bc),null);L(a,this.f,null);L(this,a,null);this.Tb&&Ry(this.Tb.d,!1);Oy(this,!1);zG(this);BG(this);EG(this);K(jG,this.b);K(kG,this.b);K(qG,this.b);K(rG,this.b);K(sG,this.b);K(tG,this.b);aG(this,cG);Ny(this);a=this.i;AD(this.Tb.d,a.b,a.c);!Iw(this)&&mx(this);Xw(this)}s(534,524,zh,jF);
_.gf=function(a,b){var c;C(b,Bc)?(yG(this),aG(this,cG),bG(this)):y(a.i,84)?(EG(this),a.i==cG?(zG(this),BG(this)):a.i==dG?(zG(this),BG(this)):a.i==eG?(zG(this),BG(this)):a.i==qG?K(rG,this.b):a.i==rG?(K(qG,this.b),K(jG,this.b)):a.i==jG?(K(kG,this.b),K(rG,this.b)):a.i==kG?K(jG,this.b):a.i==uG||a.i==vG||a.i==wG||a.i==xG?(yG(this),this.c=!0):BG(this),aG(this,a.i),bG(this)):y(a.i,85)&&(EG(this),c=a.i,0==c.Tb.b.pb.selectedIndex?K(c,this.b):K(c,(ey(),my)),bG(this));107!=this.d.c&&(this.d.c=107,FA(this.d));
return!0};_.c=!1;_.d=null;var cG=_.e=null,uG=null,dG=null,jG=null,vG=null,hG=null,lG=null,tG=null,sG=null,gG=null,fG=null,eG=null,iG=null,LG=null,mG=null,kG=null,rG=null,xG=null,nG=null,pG=null,qG=null,wG=null,oG=null;function AF(){TB(this)}s(535,460,uh,AF);_.b=-1;
function tp(a){a=new Jz(a);wp();var b,c,d,e,f;try{var g=(Bz(),Ez);if(Fz(g,(Bz(),Ez)))b=a.b;else if(Fz(g,Cz))b=new Mz(a.b);else throw new Kz(g);c=Sm(b)?b.tS():b.toString?b.toString():"[JavaScriptObject]";d=new jE;gw(d.f,c);e=(f=CB(c,"\r\n|\r|\n|\n\r"),f.length);d.f.pb.rows=10>e?e:10;dn((an(),bn),new mE(d));lD(d);zD(d)}catch(h){if(h=$h(h),y(h,98))Cm(h);else throw h;}}function BF(){}s(536,1,{},BF);_.b=null;function vE(a){if(!a)throw new Im;this.b=a}s(537,1,{},vE);_.Hc=function(){return dA(this.b)};
_.Ic=function(){return Vh(this.b)};_.Jc=function(){throw new gA("Missing message: awt.50");};_.b=null;function Jx(){return Jx()}function Wz(){Wz=u;var a;a=(Nz(),Oz["os.encoding"]);if(null!=a)try{if(C("UTF-8",a)||C("ISO-8859-1",a)||C("ISO-LATIN-1",a))v(MG,k,-1,0,1);else throw new gB(a+" is not supported");}catch(b){if(b=$h(b),!y(b,119))throw b;}}function hz(a,b){a.b=31*a.b+G((new tB(b)).b)}function xy(){}s(540,1,{},xy);_.hC=function(){return this.b};_.b=1;
function NG(){NG=u;var a,b;a=$doc;if((b=a.getElementsByTagName(Fe))&&0<b.length)b=$doc.getElementsByTagName(Fe)[0],b.style[De]=gb;a.body.style[De]=gb}function GD(a){NG();var b;b=v(E,r,-1,4,1);b[0]=OG(PG(a,"borderTopWidth"));b[1]=OG(PG(a,"borderRightWidth"));b[2]=OG(PG(a,"borderBottomWidth"));b[3]=OG(PG(a,"borderLeftWidth"));return b}function QG(a){NG();var b,c;c=RG(a);b=GD(a);a=new ep(a.clientWidth,a.clientHeight);a.c+=b[1]+b[3]+(c[1]+c[3]);a.b+=b[0]+b[2]+(c[0]+c[2]);return a}
function dp(a){NG();return new ep(a.clientWidth,a.clientHeight)}function RG(a){NG();var b;b=v(E,r,-1,4,1);b[0]=OG(PG(a,"marginTop"));b[1]=OG(PG(a,"marginRight"));b[2]=OG(PG(a,"marginBottom"));b[3]=OG(PG(a,"marginLeft"));return b}function SG(a){NG();var b;b=v(E,r,-1,4,1);b[0]=OG(PG(a,"paddingTop"));b[1]=OG(PG(a,"paddingRight"));b[2]=OG(PG(a,"paddingBottom"));b[3]=OG(PG(a,"paddingLeft"));return b}function TG(a,b,c){NG();try{C(b,de)&&(b=Sd),a.style[b]=c}catch(d){if(d=$h(d),!y(d,112))throw d;}}
function mD(a,b){NG();var c;UG||(UG=$doc.createElement(gg),TG(UG,Me,j),TG(UG,vg,j),TG(UG,Gf,bd),TG(UG,Hg,Ee),$doc.body.appendChild(UG));TG(UG,Kg,a);TG(UG,De,a);c=QG(UG);return b?c.c:c.b}var UG=null;function VG(){ep.call(this,0,0)}function ep(a,b){this.c=a;this.b=b}function MD(a){ep.call(this,a.c,a.b)}s(542,1,Eh,VG,ep,MD);_.eQ=function(a){return this===a?!0:null==a||WG!=Qm(a)||this.b!=a.b||this.c!=a.c?!1:!0};_.hC=function(){var a;a=31+this.b;return a=31*a+this.c};
_.tS=function(){return"Dimension [height="+this.b+", width="+this.c+Zc};_.b=0;_.c=0;function XG(a){this.e=a[0];this.c=a[3];this.b=a[2];this.d=a[1]}s(543,1,{106:1,108:1,128:1},XG);_.eQ=function(a){return a===this?!0:y(a,128)?a.c==this.c&&a.b==this.b&&a.d==this.d&&a.e==this.e:!1};_.hC=function(){var a;a=213+this.e;a=71*a+this.c;a=71*a+this.b;return a=71*a+this.d};_.tS=function(){return YG.e+"[left="+this.c+",top="+this.e+",right="+this.d+",bottom="+this.b+Zc};_.b=0;_.c=0;_.d=0;_.e=0;
function ZG(a,b){this.b=a;this.c=b}s(544,1,Eh,ZG);_.eQ=function(a){return this===a?!0:null==a||$G!=Qm(a)||this.b!=a.b||this.c!=a.c?!1:!0};_.hC=function(){var a;a=31+this.b;return a=31*a+this.c};_.tS=function(){return $G.e+"[x="+this.b+",y="+this.c+Zc};_.b=0;_.c=0;function XD(){this.c=this.b=this.e=this.d=0}s(545,1,Eh,XD);_.eQ=function(a){return this===a?!0:null==a||aH!=Qm(a)||this.b!=a.b||this.c!=a.c||this.d!=a.d||this.e!=a.e?!1:!0};
_.hC=function(){var a;a=31+this.b;a=31*a+this.c;a=31*a+this.d;return a=31*a+this.e};_.tS=function(){return aH.e+"[x="+this.d+",y="+this.e+",width="+this.c+",height="+this.b+Zc};_.b=0;_.c=0;_.d=0;_.e=0;function PG(a,b){if(document.defaultView&&document.defaultView.getComputedStyle){var c=null;b==de&&(b=Sd);var d=a.ownerDocument.defaultView.getComputedStyle(a,j);d&&(c=d[b]);return c||a.style[b]||j}return el.style[b]||j}s(547,1,{});var bH=-1;function cH(){}s(548,547,{},cH);_.b=-1;_.c=-1;var dH=null;
function OG(a){a=parseInt(a,10);a=isNaN(a)?null:uB(a);return!a?0:a.b}s(551,286,{45:1,47:1,56:1,60:1,68:1,70:1,71:1,74:1,79:1,81:1,130:1,136:1});_.$e=function(){return hp(this.i)};_._e=function(a){qD(this.i,a)};_.af=function(){lp(this.i)};_.ud=function(){lp(this.i)};_.Vc=function(a){var b=this.i;b.pb.style[De]=a;b.kb||(b.i=a)};_.Xc=function(a){var b=this.i;b.pb.style[Kg]=a;b.kb||(b.j=a)};function tD(){tD=u;uD()}function Qy(a,b){a.b.pb.textContent=b||j;qD(a.i,null)}
function eH(a){tD();var b;uu(this,new SD);this.b=new fH;b=this.i;gH(b,new hH);TG(b.pb,"padding",db);b.p=0;cE(b,this.b,new dE(0),b.q.d);this.b.Sc()[zd]="mosaic-Caption-text";this.b.pb.textContent=a||j;qD(this.i,null);this.pb[zd]="mosaic-Caption"}s(550,551,{15:1,18:1,19:1,34:1,35:1,36:1,37:1,38:1,39:1,45:1,47:1,56:1,60:1,66:1,67:1,68:1,70:1,71:1,74:1,78:1,79:1,81:1,130:1,136:1},eH);_.wc=function(a){return A(this,a,(Dp(),Dp(),Ep))};_.xc=function(a){return A(this,a,(Fi(),Fi(),Gi))};
_.yc=function(a){return A(this,a,(Hp(),Hp(),Ip))};_.zc=function(a){return A(this,a,(Hi(),Hi(),Ii))};_.c=null;function uD(){uD=u;iH=Wm()+"40BAF81124143A595056A9CCA0E9DBBA.cache.png";new Bw(iH,240,20);new Bw(iH,224,16);new Bw(iH,208,16);new Bw(iH,192,16);new Bw(iH,176,16);new Bw(iH,160,16);new Bw(iH,144,16);new Bw(iH,128,16);new Bw(iH,112,16);new Bw(iH,96,16);new Bw(iH,80,16);new Bw(iH,64,16);new Bw(iH,260,16);vD=new Bw(iH,48,16);new Bw(iH,32,16);new Bw(iH,16,16);new Bw(iH,0,16)}var iH,vD;
function jH(a,b){jt(a.b.pb,!b);qD(a.i,a.b)}function fp(a,b){a.d=b;jt(a.b.pb,!b);qD(a.i,a.b);if(a.e){var c;for(c=new Uh(a.e);c.c<c.e.ie();)Vh(c)}}function YD(a){var b;uu(this,new SD);b=this.i;gH(b,new kH((lH(),mH)));b.p=0;this.c=new eH(a);cE(b,this.c,new dE(1),b.q.d);this.b=new SD;oi(this.b,"Body");cE(b,this.b,new dE(0),b.q.d);this.pb[zd]="mosaic-CaptionLayoutPanel"}s(553,551,{45:1,47:1,56:1,60:1,68:1,69:1,70:1,71:1,74:1,79:1,81:1,130:1,136:1},YD);_.Yc=function(){mt(this.i)};_.Zc=function(){pt(this.i)};
_.gd=function(){return new tt(this.b)};_.dd=function(a){return rD(this.b,a)};_.b=null;_.c=null;_.d=!1;_.e=null;function $D(){TB(this)}s(554,460,uh,$D);function RD(a){this.b=a}s(555,1,Dh,RD);_.hc=function(){lp(this.b.T.jb)};_.b=null;function nH(a){var b;b=a.c;a=b.r;b=!a.f?-1:Oi(a.f.b,b);a.f&&hs(a.f.b,b)&&ks(a.f.b,b);b=!a.f?0:a.f.b.d;0<b&&ND(!a.f?null:hs(a.f.b,b-1))}function oH(a){var b;b=a.b;a=b.r;!a.f&&(a.f=new rx);-1==Oi(a.f.b,b)&&ii(a.f.b,b)}function KD(){}s(556,1,{},KD);_.Ac=function(a){nH(a)};
_.Bc=function(a){oH(a)};_.Dc=function(a){pH(a.b.r,a.b)};function kE(){kE=u;qH=new rH(1,"e");sH=new rH(2,sf);tH=new rH(3,"ne");uH=new rH(10,"nw");vH=new rH(4,Zf);wH=new rH(5,ag);xH=new rH(12,"sw");yH=new rH(8,"w");lE=new zH((wi(),xi(null)).pb)}function CD(a,b){var c;c=GD(a.pb);return new ZG(Zi(b.pb)-(Zi(a.pb)+c[3]),aj(b.pb)-(aj(a.pb)+c[0]))}
function AH(a){var b,c,d,e,f,g;if(a.f){b=dp(a.pb);for(d=0,e=a.f.b.d;d<e;++d)g=hs(a.f.b,d),c=new ep(on(g.pb,Bf),on(g.pb,Af)),f=CD(a,g),f.b-=Ui(0,f.b+on(g.pb,Bf)-b.c),f.c-=Ui(0,f.c+on(g.pb,Af)-b.b),AD(g,Ui(0,f.b),Ui(0,f.c)),c.c=c.c>b.c?b.c:-1,c.b=c.b>b.b?b.b:-1,LD(g,c.c,c.b),g.O==(bp(),cp)&&jp(g,new MD(dp(a.pb))),yj(g.z,1)}}function BH(a,b,c){a=a.e;Yh(a,b,b);x(a.d,b,c);oi(b,Cc+c.c)}
function ip(a,b){var c;c=a.e;CH(c,b.H);ni(b.H,Cc+uH.c);CH(c,b.D);ni(b.D,Cc+sH.c);CH(c,b.E);ni(b.E,Cc+tH.c);CH(c,b.N);ni(b.N,Cc+yH.c);CH(c,b.v);ni(b.v,Cc+qH.c);CH(c,b.M);ni(b.M,Cc+xH.c);CH(c,b.K);ni(b.K,Cc+vH.c);CH(c,b.L);ni(b.L,Cc+wH.c)}
function kp(a,b){!b.H&&(b.H=ED(b,0,0));BH(a,b.H,uH);!b.D&&(b.D=ED(b,0,1));BH(a,b.D,sH);!b.E&&(b.E=ED(b,0,2));BH(a,b.E,tH);!b.N&&(b.N=ED(b,1,0));BH(a,b.N,yH);!b.v&&(b.v=ED(b,1,2));BH(a,b.v,qH);!b.M&&(b.M=ED(b,2,0));BH(a,b.M,xH);!b.K&&(b.K=ED(b,2,1));BH(a,b.K,vH);!b.L&&(b.L=ED(b,2,2));BH(a,b.L,wH)}function pH(a,b){var c,d;a.b=b;d=a.f.b.d;c=Oi(a.f.b,b);if(c+1<d){Ox(a.f,b);for(ii(a.f.b,b);c<d;++c)OD(hs(a.f.b,c),c)}else OD(b,c)}
function zH(a){a=new DH(a);uu(this,a);this.d=new EH(a);this.d.j=!0;fi(this.d);this.d.n=3;this.e=new FH(a);this.e.j=!0;fi(this.e);this.e.n=3;wu(this)}s(557,286,{45:1,47:1,56:1,60:1,68:1,70:1,71:1,74:1,79:1,81:1,136:1},zH);_.$e=function(){return dp(this.pb)};_._e=function(){var a;(a=GH(this))&&a._e(null)};_.af=function(){AH(this)};_.Ac=function(a){!this.c&&(this.c=new KD);nH(a)};_.Bc=function(a){!this.c&&(this.c=new KD);oH(a)};_.ud=function(){AH(this)};
_.Dc=function(a){!this.c&&(this.c=new KD);pH(a.b.r,a.b)};_.b=null;_.c=null;_.d=null;_.e=null;_.f=null;var qH,sH,tH,uH,lE,vH,wH,xH,yH;function DH(a){this.q=new Nt(this);this.pb=a}s(558,266,Jh,DH);function rH(a,b){this.b=a;this.c=b}s(559,1,{},rH);_.b=0;_.c=null;function EH(a){Qh();ki.call(this,a)}s(560,3,{},EH);_.bc=function(){var a;a=this.k.f;a.C||Yi(a.x);ni(this.k.f,"dragdrop-dragging");!a.I.d&&jH(a.I,!1)};
_.dc=function(){var a,b;a=this.k.c;b=this.k.d;this.j&&(a=Ui(this.b,a<this.e?a:this.e),b=Ui(this.c,b<this.d?b:this.d));var c=this.k.f.pb;c.style[Me]=a+(Ji(),Kf);c.style[vg]=b+Kf};
_.cc=function(){var a;a=this.k.f;a==a.r.b||ND(a);a.I.d||jH(a.I,!0);a.C||(a.x||(a.x=new HH,oi(a.x,"mosaic-GlassPanel-invisible")),TG(a.x.pb,Mg,(NG(),PG(a.pb,Mg))),vi((wi(),xi(null)),a.x,0,0));oi(this.k.f,"dragdrop-dragging");a=new Ri(this.k.b,null);this.b=a.b+$i(this.k.b.pb);this.c=a.e+bj(this.k.b.pb);this.e=this.b+dj(this.k.b.pb)-this.k.f.Rc();this.d=this.c+cj(this.k.b.pb)-this.k.f.Qc()};_.b=0;_.c=0;_.d=0;_.e=0;function CH(a,b){try{bi(a,b)}catch(c){if(c=$h(c),!y(c,112))throw c;}}
function FH(a){Qh();ki.call(this,a);this.d=new Sh}s(561,3,{},FH);_.bc=function(){var a;a=this.k.f.ob;a.C||Yi(a.x);ni(this.k.f,"dragdrop-dragging");jH(a.I,!1);gp(a,new ep(a.q,a.p));yj(a.z,1)};
_.dc=function(){var a,b,c,d;d=this.k.f.ob;c=si(this.k.e.d,this.k.f).b;0!=(c&2)?(b=this.j?this.k.f.Pc()-Ui(this.k.d,this.c):this.k.f.Pc()-this.k.d,0!=b&&(a=d.p,b=Ui(a+b,on(d.I.c.pb,Af)),b!=a&&DD(d,0,a-b),gp(d,new ep(d.q,b)),yj(d.z,333))):0!=(c&4)&&(b=this.j?(this.k.d<this.e?this.k.d:this.e)-this.k.f.Pc():this.k.d-this.k.f.Pc(),0!=b&&(a=d.p,b=Ui(a+b,on(d.I.c.pb,Af)),gp(d,new ep(d.q,b)),yj(d.z,333)));0!=(c&8)?(b=this.j?this.k.f.Oc()-Ui(this.k.c,this.b):this.k.f.Oc()-this.k.c,0!=b&&(a=d.q,b=96<a+b?a+
b:96,b!=a&&DD(d,a-b,0),gp(d,new ep(b,d.p)),yj(d.z,333))):0!=(c&1)&&(b=this.j?(this.k.c<this.f?this.k.c:this.f)-this.k.f.Oc():this.k.c-this.k.f.Oc(),0!=b&&(a=d.q,gp(d,new ep(96<a+b?a+b:96,d.p)),yj(d.z,333)))};
_.cc=function(){var a;a=this.k.f.ob;a==a.r.b||ND(a);jH(a.I,!0);a.C||(a.x||(a.x=new HH,oi(a.x,"mosaic-GlassPanel-invisible")),TG(a.x.pb,Mg,(NG(),PG(a.pb,Mg))),vi((wi(),xi(null)),a.x,0,0));oi(this.k.f,"dragdrop-dragging");a=new Ri(this.k.b,null);this.b=a.b+$i(this.k.b.pb);this.c=a.e+bj(this.k.b.pb);this.f=this.b+dj(this.k.b.pb)-this.k.f.Rc();this.e=this.c+cj(this.k.b.pb)-this.k.f.Qc()};_.b=0;_.c=0;_.e=0;_.f=0;
function HH(){var a;this.e=new IH(this);this.b=!1;this.c=new Rt;uu(this,this.c);a=this.pb.style;a[jd]="#000";a[ce]="alpha(opacity=50)";a.opacity="0.5";this.pb[zd]="gwt-GlassPanel"}s(562,286,th,HH);
_._c=function(){var a;wu(this);try{a=this.ob}catch(b){b=$h(b);if(y(b,117))throw new nt("Parent widget must be an instance of AbsolutePanel");throw b;}a==(wi(),xi(null))?(Or(this),a=this.e,a.c?$wnd.clearInterval(a.d):$wnd.clearTimeout(a.d),hi(Fj,a),a.c=!0,a.d=Nj(a),ii(Fj,a),this.d=new JH(this),Es(new Nr(this.d))):(this.pb.style[sd]=db,this.pb.style[Uf]=db);this.b&&ss(new Mr(this));vi(xi(null),new KH,sn($doc),tn($doc))};
_.ad=function(){this.i.ad();sj(this.e);this.d&&(Kr(Cs,this.d,D(LH,k,46,[(!Rp&&(Rp=new Kj),Rp)])),this.d=null);this.b&&Kr(us,this,D(LH,k,46,[(!ts&&(ts=new Kj),ts)]))};_.Lc=function(a){switch(ps(a.type)){case 256:if(27==(a.keyCode||0))return Yi(this),!1;case 1:if(this.pb.contains(a.target))return Yi(this),!1}return!0};_.bd=function(){};_.b=!1;_.c=null;_.d=null;function IH(a){Ej();this.b=a}s(563,24,{},IH);_.nc=function(){Or(this.b)};_.b=null;function JH(a){this.b=a}s(564,1,{},JH);_.b=null;
function KH(){this.pb=zu();var a;a=new tv(new MH(this));A(this,a,(Ho(),Ho(),Io));A(this,a,(mp(),mp(),np))}s(565,288,Xg,KH);_.bd=function(){Pi(new NH(this))};function MH(a){this.b=a}s(566,1,{},MH);_.b=null;function NH(a){this.b=a}s(567,1,Dh,NH);_.hc=function(){this.b.pb.focus()};_.b=null;function OH(a){a.pb.style[Kg]=id;a.pb.style[De]=id;if(a.kb){var a=a.ob,b;y(a,136)?a._e(null):(b=GH(a))&&b._e(a)}}s(569,269,{45:1,47:1,56:1,67:1,68:1,71:1,74:1,75:1,78:1,79:1,81:1,136:1});
_.$e=function(){OH(this);return new ep(on(this.pb,Bf),on(this.pb,Af))};_._e=function(){OH(this)};_.af=function(){};_.Kc=function(){};_.ud=function(){};function fH(){this.pb=$doc.createElement("label");this.pb[zd]="mosaic-Label";this.pb.style[Jg]=xf;this.pb[zd]="mosaic-HTML"}s(568,569,{45:1,47:1,56:1,66:1,67:1,68:1,71:1,74:1,75:1,78:1,79:1,81:1,136:1},fH);function aE(a){uu(this,new PH(a));this.pb[zd]="mosaic-ImageButton"}s(570,286,{18:1,45:1,47:1,56:1,60:1,68:1,70:1,71:1,75:1,79:1,81:1},aE);
function yE(){var a=(du(),gu);Yt.call(this,!0,Ze);this.U=a.b;this.b=new QH(this);this.b.e=!0;Ot(this,this.b);this.ab=!0;this.b.i=!0;if(-1==this.lb){var a=this.pb,b=1|(this.pb.__eventBits||0);zi();$s(a,b)}else this.lb|=1;rn(qn(this.pb))[zd]=ve;this.pb.style[Mg]="2147483647"}s(571,271,Jh,yE);_.Kc=function(a){ot(this,a);1==ps(a.type)&&Tt(this,!1)};_.b=null;
function QH(a){this.c=a;this.d=new pi;this.j=new pi;a=(Lv(),Kv);new Aw(a.e,a.c,a.d,a.f,a.b);var b;b=$doc.createElement(lg);this.f=$doc.createElement(og);ls(b,this.f);this.p=!0;a=zu();b=(ms(),ns(b));a.appendChild(b);this.pb=a;Lk();this.pb.setAttribute("role",pl.b);-1==this.lb?(a=this.pb,b=2225|(this.pb.__eventBits||0),zi(),$s(a,b)):this.lb|=2225;this.pb[zd]=ue;a=gt(this.pb)+"-vertical";Wh(this.Sc(),a,!0);this.pb.style.outline=db;this.pb.setAttribute("hideFocus",Eg);A(this,new Jv(this),(Ho(),Ho(),Io))}
s(572,310,Hh,QH);_.Kc=function(a){switch(ps(a.type)){case 16:this.b=!1;break;case 32:this.b=!0}Cv(this,a)};_.td=function(a,b){Gv(this,a,b);b||this.b&&Tt(this.c,!1)};_.b=!0;_.c=null;
function PH(a){var b=(Mu(),Xu),c=($u(),av),d;d=new Gu;d.i[rd]=cb;d.i[ud]=0;d.i[vd]=0;this.b=b;this.c=c;var b=d.e,c=this.b,e=this.c;Eu(b.b);b.b.d.rows[0].cells[0][ed]=c.b;Eu(b.b);b.b.d.rows[0].cells[0].style[Gg]=e.b;Eu(d);b=Au(d,0,0,!0);if(a){Yi(a);c=d.j;if(c.b){var e=c.b.b,f=c.c,g=e;Cu(g,f.d);Iq(f.c,g,a);c.b=c.b.c}else e=c.c.d,ii(c.c,a);a.pb[$c]=e;ls(b,a.pb);rt(a,d)}uu(this,d);Wh(this.pb,"mosaic-WidgetWrapper",!0)}s(573,286,th,PH);_.b=null;_.c=null;function TD(a){this.b=a}s(574,1,{},TD);
_.vc=function(){this.b.hb&&this.b!=this.b.r.b&&ND(this.b)};_.b=null;function UD(a){Ej();this.b=a}s(575,24,{},UD);_.nc=function(){lp(this.b.T.jb);var a=this.b;Qp((!a.y&&(a.y=new uE),a.y))};_.b=null;function VD(a){Ej();this.b=a}s(576,24,{},VD);_.nc=function(){HD(this.b,(bp(),cp))};_.b=null;function WD(a){Ej();this.b=a}s(577,24,{},WD);_.nc=function(){HD(this.b,(bp(),ID))};_.b=null;function ZD(){}s(578,1,{},ZD);function bE(a){this.b=a}s(579,1,{},bE);_.vc=function(){this.b.od()};_.b=null;
function eE(a){this.b=a}s(580,1,{},eE);_.b=null;function fE(a){this.b=a}s(581,1,Dh,fE);_.hc=function(){this.b.O==(bp(),cp)?yj(this.b.A,333):this.b.O==ID&&yj(this.b.B,333)};_.b=null;function FD(a){this.pb=a;mt(this)}s(582,269,{15:1,18:1,34:1,35:1,36:1,37:1,38:1,39:1,45:1,47:1,56:1,68:1,71:1,79:1,81:1},FD);_.wc=function(a){return A(this,a,(Dp(),Dp(),Ep))};_.xc=function(a){return A(this,a,(Fi(),Fi(),Gi))};_.yc=function(a){return A(this,a,(Hp(),Hp(),Ip))};_.zc=function(a){return A(this,a,(Hi(),Hi(),Ii))};
function uE(){iq.call(this,null)}s(583,201,Bh,uE);function bp(){bp=u;cp=new RH("MAXIMIZED",0);ID=new RH("MINIMIZED",1);JD=new RH("NORMAL",2);SH=D(TH,k,131,[cp,ID,JD])}function RH(a,b){un.call(this,a,b)}s(584,137,{106:1,109:1,111:1,131:1},RH);var SH,cp,ID,JD;function Or(a){var b,c,d,e;c=Di();b=Ei();e=(at(),bt).scrollWidth;d=bt.scrollHeight;c=c>e?c:e;b=b>d?b:d;0<=c-1&&(a.pb.style[Kg]=c-1+Kf);0<=b-1&&(a.pb.style[De]=b-1+Kf)}
function UH(a,b){var c,d,e;if(a.n)return!0;ji(a.y);for(c=new tt(b);c.b.b<c.b.c.d-1;)d=pD(ut(c.b)),e=d.ob,y(e,137)&&e.Wc(d.Tc()),d.Tc()&&ii(a.y,d);return!0}function VH(a,b){var c,d,e;if(b.b)a.d&&rj(a.d),a.d=new WH(a,b),tj(a.d,333);else for(d=new Uh(a.y);d.c<d.e.ie();)c=Vh(d),e=c.nb,XH(b,c,e.t,e.u),YH(c,e.v,e.s,D(E,r,-1,[ZH(a.r.b,c).e,ZH(a.q.b,c).d,ZH(a.o.b,c).b,ZH(a.p.b,c).c]),D(E,r,-1,[$H(a.j.b,c).e,$H(a.i.b,c).d,$H(a.e.b,c).b,$H(a.f.b,c).c]),D(E,r,-1,[aI(a.v,c),aI(a.u,c),aI(a.s,c),aI(a.t,c)]))}
function bI(){this.y=new pi;this.k=new cI(this);this.x=new dI(this.k);this.w=new eI(this.k);this.r=new fI(this.k);this.q=new gI(this.k);this.o=new hI(this.k);this.p=new iI(this.k);this.j=new jI(this.k);this.i=new kI(this.k);this.e=new lI(this.k);this.f=new mI(this.k);this.v=new nI(this.k);this.u=new nI(this.k);this.s=new nI(this.k);this.t=new nI(this.k)}s(587,1,{});_.hf=function(a){VH(this,a)};_.d=null;_.e=null;_.f=null;_.i=null;_.j=null;_.k=null;_.n=!1;_.o=null;_.p=null;_.q=null;_.r=null;_.s=null;
_.t=null;_.u=null;_.v=null;_.w=null;_.x=null;function oI(a){var b;b=a.b;var c=a.c,d,e,f;for(e=new Uh(b.y);e.c<e.e.ie();)d=Vh(e),y(d,61)&&(d=d.jb),f=d.nb,XH(c,d,f.t,f.u),YH(d,f.v,f.s,D(E,r,-1,[ZH(b.r.b,d).e,ZH(b.q.b,d).d,ZH(b.o.b,d).b,ZH(b.p.b,d).c]),D(E,r,-1,[$H(b.j.b,d).e,$H(b.i.b,d).d,$H(b.e.b,d).b,$H(b.f.b,d).c]),D(E,r,-1,[aI(b.v,d),aI(b.u,d),aI(b.s,d),aI(b.t,d)]));pI(c);a.b.d=null;for(a=new Uh(a.b.y);a.c<a.e.ie();)b=Vh(a),y(b,61)&&(b=b.jb),b=b.nb,b.p=b.q=b.r=b.o=-1}
function WH(a,b){this.b=a;this.c=b;var c=(Aj(),Bj);this.n=new zj(this);this.t=c}s(588,17,{},WH);_.ic=function(){oI(this)};_.jc=function(){oI(this)};
_.lc=function(a){var b,c,d;for(c=new Uh(this.b.y);c.c<c.e.ie();)b=Vh(c),y(b,61)&&(b=b.jb),d=b.nb,d.j=G(d.p+(d.t-d.p)*a),d.w=G(d.q+(d.u-d.q)*a),d.x=G(d.r+(d.v-d.r)*a),d.i=G(d.o+(d.s-d.o)*a),XH(this.c,b,d.j,d.w),YH(b,d.x,d.i,D(E,r,-1,[ZH(this.b.r.b,b).e,ZH(this.b.q.b,b).d,ZH(this.b.o.b,b).b,ZH(this.b.p.b,b).c]),D(E,r,-1,[$H(this.b.j.b,b).e,$H(this.b.i.b,b).d,$H(this.b.e.b,b).b,$H(this.b.f.b,b).c]),D(E,r,-1,[aI(this.b.v,b),aI(this.b.u,b),aI(this.b.s,b),aI(this.b.t,b)]))};_.b=null;_.c=null;s(590,1,{});
_.b=null;function lI(a){this.b=a}s(589,590,{},lI);function mI(a){this.b=a}s(591,590,{},mI);function kI(a){this.b=a}s(592,590,{},kI);function jI(a){this.b=a}s(593,590,{},jI);function hI(a){this.b=a}s(594,590,{},hI);function iI(a){this.b=a}s(595,590,{},iI);function gI(a){this.b=a}s(596,590,{},gI);function fI(a){this.b=a}s(597,590,{},fI);s(598,590,{},function(a){this.b=a});s(599,590,{},function(a){this.b=a});function aI(a,b){var c=a.b,d;d=si(c.e,b);d||(d=new XG(SG(b.pb)),x(c.e,b,d));return d.e}
function nI(a){this.b=a}s(600,590,{},nI);function eI(a){this.b=a}s(601,590,{},eI);function dI(a){this.b=a}s(602,590,{},dI);function $H(a,b){var c;c=si(a.b,b);c||(c=new XG(GD(b.pb)),x(a.b,b,c));return c}function ZH(a,b){var c;c=si(a.c,b);c||(c=new XG(RG(b.pb)),x(a.c,b,c));return c}
function qI(a,b){var c,d;d=si(a.f,b);if(!d){c=b.nb;a:{d=a.i;var e=GH(b),f,g,h,i,l;if(y(b,136)){if(null!=c.n&&null!=c.k){d=new ep(rI(e,!0),rI(e,!1));break a}i=b.$e();null!=c.n&&(i.c=rI(e,!0));null!=c.k&&(i.b=rI(e,!1))}else{if(null!=c.n&&null!=c.k){d=new ep(rI(e,!0),rI(e,!1));break a}i=new VG;f=b.pb;l=f.style;g=l[Gf];h=l[Hg];l[Gf]="static";l[Hg]=Ee;null!=c.n?i.c=rI(e,!0):(l[Kg]=id,i.c=(f.offsetWidth||0)+ZH(d.p.b,b).c+ZH(d.q.b,b).d);null!=c.k?i.b=rI(e,!1):(l[De]=id,i.b=(f.offsetHeight||0)+ZH(d.r.b,b).e+
ZH(d.o.b,b).b);l[Gf]=g;l[Hg]=h}d=i}null!=c.n&&(Ji(),fo)==c.n.kf()||null!=c.k&&(Ji(),fo)!=c.k.kf()||x(a.f,b,d)}return d}function cI(a){this.i=a;this.d=new Sh;this.f=new Sh;this.c=new Sh;this.b=new Sh;this.e=new Sh}s(603,1,{},cI);_.b=null;_.c=null;_.d=null;_.e=null;_.f=null;_.i=null;function sI(a){var b;b=a.nb;if(null==b||!y(b,134))b=new tI,a.nb=b;return b}function hH(){kH.call(this,(lH(),uI))}function kH(a){var b=(vI(),wI);bI.call(this);this.c=a;this.b=b}s(604,587,{},hH,kH);
_.jf=function(a){var b,c,d,e,f,g,h,i,l;i=new VG;UH(this,a);l=ZH(this.p.b,a).c+ZH(this.q.b,a).d+$H(this.f.b,a).c+$H(this.i.b,a).d+aI(this.t,a)+aI(this.u,a);d=ZH(this.r.b,a).e+ZH(this.o.b,a).b+$H(this.j.b,a).e+$H(this.e.b,a).b+aI(this.v,a)+aI(this.s,a);c=this.y.d;if(0==c)return i.c=l,i.b=d,i;a=a.p;this.c==(lH(),uI)?l+=(c-1)*a:d+=(c-1)*a;f=g=0;for(a=new Uh(this.y);a.c<a.e.ie();)c=Vh(a),e=sI(c),b=null,h=c.ob,y(h,137)&&(b=h,b=xI(b),b=new ep(b[1]+b[3],b[0]+b[0])),this.c==uI?(l+=qI(this.x.b,c).c,e.b=qI(this.w.b,
c).b,y(h,137)&&(l+=b.c,e.b+=b.b),f=Ui(f,e.b)):(d+=qI(this.w.b,c).b,e.c=qI(this.x.b,c).c,y(h,137)&&(d+=b.b,e.c+=b.c),g=Ui(g,e.c));this.c==uI?(i.c=l,i.b=d+f):(i.c=l+g,i.b=d);return i};
_.hf=function(a){var b,c,d,e,f,g,h,i,l,m,n,o,q,w,F,z,J,N;if(UH(this,a)&&(d=this.y.d,0!=d)){F=a.p;q=aI(this.t,a);z=aI(this.v,a);c=dp(a.pb);N=c.c-(q+aI(this.u,a));n=c.b-(z+aI(this.s,a));g=N;c=n;this.c==(lH(),uI)?g-=(d-1)*F:c-=(d-1)*F;h=i=0;for(e=new Uh(this.y);e.c<e.e.ie();)d=Vh(e),b=null,o=sI(d),w=d.ob,y(w,137)&&(b=w,b=xI(b),b=new ep(b[1]+b[3],b[0]+b[0])),this.c==uI?(o.e?++i:(o.c=qI(this.x.b,d).c,y(w,137)&&(o.c+=b.c),g-=o.c),o.d?o.b=n:(o.b=qI(this.w.b,d).b,y(w,137)&&(o.b+=b.b))):(o.d?++h:(o.b=qI(this.w.b,
d).b,y(w,137)&&(o.b+=b.b),c-=o.b),o.e?o.c=N:(o.c=qI(this.x.b,d).c,y(w,137)&&(o.c+=b.c)));for(e=new Uh(this.y);e.c<e.e.ie();)d=Vh(e),b=null,o=d.nb,w=d.ob,y(w,137)&&(b=w,b=xI(b),b=new ep(b[1]+b[3],b[0]+b[0])),J=o.c,m=o.b,this.c==uI?o.e&&(J=~~(g/i)):o.d&&(m=~~(c/h)),z=0>z?0:z,l=J,f=m,y(w,137)&&(l-=b.c,f-=b.b),this.c==mH?(o.t=this.b==(vI(),wI)?q:this.b==yI?q+~~(N/2)-~~(J/2):q+N-J,o.u=z,o.v=l,o.s=f,z+=m+F):(this.b==(vI(),wI)?(o.t=q,o.u=z):this.b==yI?(o.t=q,o.u=z+~~(n/2)-~~(m/2)):(o.t=q,o.u=z+n-m),o.v=
l,o.s=f,q+=J+F),a.b&&(w=d.Oc()-Zi(a.pb)-aI(this.t,a),-1==o.p&&(o.p=w),w=d.Pc()-aj(a.pb)-aI(this.v,a),-1==o.q&&(o.q=w),-1==o.r&&(o.r=d.Rc()),-1==o.o&&(o.o=d.Qc()));VH(this,a)}};_.b=null;_.c=null;function vI(){vI=u;wI=new zI("START",0);yI=new zI(Jb,1);AI=new zI(Qb,2);BI=D(CI,k,132,[wI,yI,AI])}function zI(a,b){un.call(this,a,b)}s(605,137,{106:1,109:1,111:1,132:1},zI);var BI,yI,AI,wI;function lH(){lH=u;uI=new DI("HORIZONTAL",0);mH=new DI("VERTICAL",1);EI=D(FI,k,133,[uI,mH])}
function DI(a,b){un.call(this,a,b)}s(606,137,{106:1,109:1,111:1,133:1},DI);var EI,uI,mH;s(608,1,{138:1});_.f=!1;_.i=0;_.j=0;_.k=null;_.n=null;_.o=0;_.p=0;_.q=0;_.r=0;_.s=0;_.t=0;_.u=0;_.v=0;_.w=0;_.x=0;function tI(){this.f=!1}function dE(a){this.f=!1;0==a?this.d=this.e=!0:1==a?this.e=!0:2==a&&(this.d=!0)}s(607,608,{134:1,138:1},tI,dE);_.b=0;_.c=0;_.d=!1;_.e=!1;
function GI(a,b){if(a.n)return!0;UH(a,b);if(0<a.y.d){a.b=hs(a.y,0);var c=a.b,d;d=c.nb;if(null==d||!y(d,135))d=new HI,c.nb=d;a.c=d;ji(a.y);ii(a.y,a.b)}else a.b=null,a.c=null;return a.n=!!a.b}function II(){bI.call(this)}s(609,587,{},II);
_.jf=function(a){var b,c;c=new VG;GI(this,a);if(this.b){b=qI(this.x.b,this.b).c;var d=qI(this.w.b,this.b).b;c.c=b;c.b=d;b=this.b.ob;y(b,137)&&(b=xI(b),c.c+=b[1]+b[3],c.b+=b[0]+b[0])}c.c+=ZH(this.p.b,a).c+ZH(this.q.b,a).d+$H(this.f.b,a).c+$H(this.i.b,a).d+aI(this.t,a)+aI(this.u,a);c.b+=ZH(this.r.b,a).e+ZH(this.o.b,a).b+$H(this.j.b,a).e+$H(this.e.b,a).b+aI(this.v,a)+aI(this.s,a);return c};
_.hf=function(a){var b,c,d,e,f;GI(this,a)&&(d=aI(this.t,a),e=aI(this.v,a),c=dp(a.pb),f=c.c-(d+aI(this.u,a)),c=c.b-(e+aI(this.s,a)),b=this.b.ob,y(b,137)&&(b=xI(b),f-=b[1]+b[3],c-=b[0]+b[2]),this.c.t=d,this.c.v=f,this.c.u=e,this.c.s=c,a.b&&(d=this.c,e=this.b.Oc()-Zi(a.pb)-aI(this.t,a),-1==d.p&&(d.p=e),d=this.c,e=this.b.Pc()-aj(a.pb)-aI(this.v,a),-1==d.q&&(d.q=e),d=this.c,-1==d.r&&(d.r=this.b.Rc()),d=this.c,-1==d.o&&(d.o=this.b.Qc())),VH(this,a))};_.b=null;_.c=null;function HI(){this.f=!1}
s(610,608,{135:1,138:1},HI);function xI(a){var b,c,d,e;null==a.b&&(a.b=v(E,r,-1,4,1),e=qn(Rs(Rs(a.d,0),0)),c=qn(Rs(Rs(a.d,2),2)),d=RG(a.pb),b=GD(a.pb),a.b[0]=(e.offsetHeight||0)+b[0]+d[0],a.b[1]=(c.offsetWidth||0)+b[1]+d[1],a.b[2]=(c.offsetHeight||0)+b[2]+d[2],a.b[3]=(e.offsetWidth||0)+b[3]+d[3]);return a.b}function JI(a,b){a.kb&&Yi(a);return Pt(a,b)}function KI(){mu();cu.call(this,nu)}s(611,276,{45:1,47:1,56:1,61:1,68:1,69:1,71:1,79:1,81:1,137:1},KI);_.dd=function(a){return JI(this,a)};_.b=null;
function LI(a){var b;b=a.ob;return y(b,137)?b:a}function hp(a){if(!a.kb)return new VG;if(-1==a.k.c||-1==a.k.b)a.k=a.e.jf(a),jp(a,a.k),a.e.hf(a),a.k=a.e.jf(a);return a.k}function pD(a){return y(a,137)?a.jb:a}function MI(a){var b;if(!a.o){b=(!dH&&(dH=new cH),dH);var c=NI(a,hb,!0);b.b=c;c=NI(a,ib,!0);b.c=c;a.o=b}return a.o}
function oD(a,b,c,d,e){if(y(b,61))throw new Lj("Adding a DecoratorPanel is not allowed!");var f;f=b.nb;null!=f&&y(f,138)&&f.f?(c=new KI,Ct(a,c,a.pb,d,!0),Qt(c,b)):Ct(a,b,c,d,e);qD(a,b)}function cE(a,b,c,d){b.nb=c;oD(a,b,a.pb,d,!0)}
function qD(a,b){var c;c=a.e;if(b){var d=c.k;ci(d.d,b);ci(d.f,b);ci(d.c,b);ci(d.b,b);ci(d.e,b)}else d=c.k,fw(d.d),fw(d.f),fw(d.c),fw(d.b),fw(d.e);c.n=!1;if(!a.d){a.d=!0;c=a.k;c.c=-1;c.b=-1;c=a.ob;if(c==LI(a))c=c.ob;else{if(y(c,130)||y(c,60))d=c,c=c.ob,c==LI(d)&&(c=c.ob);y(c,137)&&y(c.ob,129)&&(c=c.ob)}y(c,136)&&!y(c,129)&&(c._e(a.ob),c._e(a))}}function lp(a){a.kb&&a.pb.style.display!=uf&&(a.pb.scrollTop=0,a.pb.scrollLeft=0,a.e.hf(a),a.d=!1,pI(a))}
function pI(a){var b,c,d;c=a.q.d;for(d=0;d<c;++d)b=pD(xw(a.q,d)),y(b,137)&&(b=b.jb),b.Tc()&&(y(b,136)?b.af():y(b,74)&&b.ud())}function rD(a,b){var c;y(b,137)&&(b=y(b,137)?b.jb:b);c=LI(b);return Jt(a,c)?(y(c,137)&&JI(c,b),qD(a,null),!0):!1}function gH(a,b){var c;a.e=b;null!=a.f&&ni(a,gt(a.pb)+Da+a.f);a.f=b.cZ.e;c=Ew(a.f,it(46));a.f=a.f.substr(c+1,a.f.length-(c+1));oi(a,gt(a.pb)+Da+a.f);qD(a,null)}
function NI(a,b,c){a.n||(a.n=$doc.createElement(gg),TG(a.n,Gf,bd),TG(a.n,Hg,Ee),TG(a.n,Me,db),TG(a.n,vg,db),a.pb.appendChild(a.n));TG(a.n,Kg,b);TG(a.n,De,b);a=QG(a.n);return c?a.c:a.b}
function rI(a,b){var c;c=null.kf();if(c==(Ji(),ro)){c=(MI(a),null.kf());var d=(-1==bH&&(bH=(NG(),mD(jb,!0))),bH);return I(H(Math.round(100*d*c/254)))}if(c==ho)return c=MI(a),d=null.kf(),I(H(yB(d*(-1==c.b&&(c.b=mD(hb,!0)),c.b))));if(c==jo)return c=MI(a),d=null.kf(),I(H(yB(d*(-1==c.c&&(c.c=mD(ib,!0)),c.b))));if(c==po)return c=(MI(a),null.kf()),d=(-1==bH&&(bH=(NG(),mD(jb,!0))),bH),I(H(Math.round(d*c)));if(c==to)return c=(MI(a),null.kf()),d=(-1==bH&&(bH=(NG(),mD(jb,!0))),bH),I(H(Math.round(10*d*c/254)));
if(c==no)return I(H(yB(12*(MI(a),null.kf())*I(H(yB((-1==bH&&(bH=(NG(),mD(jb,!0))),bH)/72))))));if(c==fo)return NI(a,null.kf(),b);if(c==lo)return c=(MI(a),I(H(yB(null.kf())))),d=(-1==bH&&(bH=(NG(),mD(jb,!0))),bH),I(H(Math.round(d*c/72)));if(null.kf()==co)return I(H(yB(null.kf())));throw new Lj("Invalid size: "+null.kf());}function SD(){var a=new II;Mt.call(this);this.k=new ep(-1,-1);new OI(this);this.pb[zd]="mosaic-LayoutPanel";gH(this,a)}
s(612,266,{45:1,47:1,56:1,68:1,69:1,71:1,74:1,79:1,81:1,136:1},SD);_.hd=function(a){oD(this,a,this.pb,this.q.d,!0)};_.Yc=function(){wt(this,new WI)};_.Zc=function(){wt(this,new XI)};_.$e=function(){return hp(this)};_.ed=function(a){return Ft(this.q,LI(a))};_.fd=function(a,b,c,d){oD(this,a,b,c,d)};_._e=function(a){qD(this,a)};_.gd=function(){return new tt(this)};_.af=function(){lp(this)};
_.bd=function(){var a;if(this.c){if(null!=this.j&&null!=this.i)a=this.i,this.Xc(this.j),this.Vc(a),this.j=this.i=null;else if(a=hp(this),null!=this.j)a=a.b+Kf,this.Xc(this.j),this.Vc(a),this.j=null;else if(null!=this.i){var b=this.i;this.Xc(a.c+Kf);this.Vc(b);this.i=null}else b=a.b+Kf,this.Xc(a.c+Kf),this.Vc(b);lp(this)}};_.ud=function(){lp(this)};_.dd=function(a){return rD(this,a)};_.Vc=function(a){this.pb.style[De]=a;this.kb||(this.i=a)};_.jd=function(a,b,c){a=LI(a);It(this,a);this.kd(a,b,c)};
_.Xc=function(a){this.pb.style[Kg]=a;this.kb||(this.j=a)};_.b=!1;_.c=!1;_.d=!0;_.e=null;_.f=null;_.i=null;_.j=null;_.n=null;_.o=null;_.p=4;function WI(){}s(613,1,{},WI);_.sd=function(a){LI(a)._c()};function XI(){}s(614,1,{},XI);_.sd=function(a){LI(a).ad()};function tt(a){this.c=a;this.b=new Ht(this.c.q)}s(615,1,{},tt);_.Hc=function(){return this.b.b<this.b.c.d-1};_.Ic=function(){return pD(ut(this.b))};_.Jc=function(){vt(this.b)};_.c=null;function YI(){YI=u;new Su}
function OI(a){YI();Wh(a.pb,"dragdrop-dropTarget",!0);this.b=a;new ZI(this)}s(616,9,{},OI);function ZI(a){Ej();this.b=a}s(617,24,{},ZI);_.nc=function(){qD(this.b.b,null);lp(this.b.b)};_.b=null;function GH(a){a=a.ob;return!a?null:y(a,136)?a:GH(a)}function LD(a,b,c){var d;d=a.pb;YH(a,b,c,RG(d),GD(d),SG(d))}
function YH(a,b,c,d,e,f){var g;0<=b&&(b-=d[1]+d[3],g=b-(e[1]+e[3]+f[1]+f[3]),a.Xc((0>g?0:g)+(Ji(),Kf)),b!=a.Rc()&&a.Xc((0>b?0:b)+Kf));0<=c&&(c-=d[0]+d[2],b=c-(e[0]+e[2]+f[0]+f[2]),a.Vc((0>b?0:b)+(Ji(),Kf)),c!=a.Qc()&&a.Vc((0>c?0:c)+Kf))}function jp(a,b){LD(a,b.c,b.b)}function XH(a,b,c,d){b=LI(b);It(a,b);a.kd(b,c,d)}s(620,1,{});
function aB(){var a,b,c,d;d=CB("JavaScriptApplet.JSME","\\.");c=$wnd;a=0;for(b=d.length-1;a<b;++a)C(d[a],"client")||(c[d[a]]||(c[d[a]]={}),c=null!=c?c[d[a]]:null);return null!=c?c[d[a]]:null}function $I(){this.b=new Sh;new Sh;new Sh}s(619,620,{},$I);function $A(){$A=u;aJ=new $I}function eB(){var a=bB,b=$wnd.JavaScriptApplet.JSME;$A();x(aJ.b,a,b)}var aJ;
function Oj(a){return function(){try{var b;var c=arguments,d;var e;0!=Ym&&(e=uj(),2E3<e-$m&&($m=e,Zm=Xm()));if(0==Ym++){var f=(an(),bn),g,h;if(f.c){h=null;do g=f.c,f.c=null,h=kn(g,h);while(f.c);f.c=h}d=!0}else d=!1;try{b=a.apply(this,c)}finally{if(c=d){var i=(an(),bn),l,m;if(i.d){m=null;do l=i.d,i.d=null,m=kn(l,m);while(i.d);i.d=m}}--Ym;c&&-1!=Zm&&($wnd.clearTimeout(Zm),Zm=-1)}return b}catch(n){throw n;}}}
function gwtOnLoad(a,b,c){$moduleName=b;$moduleBase=c;if(a)try{Oj(Lq)()}catch(d){a(b)}else Oj(Lq)()}var cB=U(1),Tm=U(100),bJ=pB(" I"),E=kB(627,bJ),Fy=kB(625,cB),cJ=pB(" Z"),QF=kB(628,cJ);U(99);U(98);U(97);var dJ=U(440),Hm=kB(629,dJ),eJ=U(220),mr=kB(630,eJ);U(221);U(137);var fJ=pB(" B");U(431);var gJ=pB(" C"),Nh=kB(631,gJ);U(429);var hJ=pB(" D"),qC=kB(632,hJ);U(430);var iJ=U(434),xB=kB(633,iJ),jJ=pB(" J"),kJ=U(2),Nq=kB(626,kJ),MG=kB(634,fJ);U(443);U(427);U(96);U(165);U(104);U(423);var bB=U(421);U(426);
U(114);U(115);U(94);U(106);U(107);U(108);U(437);U(432);U(422);U(620);U(619);var dB=oB(),ty=U(368),HE=kB(635,ty),lJ=U(532),zF=kB(636,lJ),mJ=U(357);U(356);U(355);U(354);U(528);var Eq=kB(637,E),nJ=V(530,function(){cD();return DF}),EF=kB(638,nJ);U(531);U(377);U(376);U(524);U(523);U(533);U(534);U(529);U(406);U(527);var Wx=kB(639,mJ);U(366);U(536);U(176);U(175);U(254);U(201);U(256);U(184);var oJ=U(183);U(204);U(203);U(202);U(351);U(352);U(353);U(270);var pJ=U(269);U(268);U(274);U(288);U(474);U(475);U(476);
U(477);U(478);U(330);U(418);U(417);U(447);U(449);U(448);U(450);U(452);U(451);U(453);U(457);U(458);U(267);U(266);U(326);U(329);U(327);U(328);U(207);U(206);U(279);U(280);U(281);U(393);U(392);var oz=U(391),XE=kB(640,oz),UF=kB(641,jJ);U(382);U(378);U(487);U(454);U(460);U(455);U(456);U(416);U(466);var qJ=V(210,function(){tq();return yq}),zq=kB(642,qJ);U(446);U(396);U(397);U(384);var $y=U(379);U(364);U(365);U(389);var kz=U(388);U(381);U(380);U(464);U(473);U(371);var yy=U(370);U(420);U(525);U(526);U(535);
U(387);U(386);U(385);U(390);U(394);U(395);U(439);U(359);U(358);U(403);oB();oB();oB();oB();U(360);U(490);U(489);U(174);U(181);U(182);U(341);var yw=kB(643,pJ);U(342);U(374);U(375);var Gy=U(373);U(419);U(367);U(470);U(442);U(196);U(250);U(405);var rJ=V(153,function(){Ji();return vo}),wo=kB(644,rJ),sJ=V(136,function(){Ki();return Fn}),Gn=kB(645,sJ),tJ=V(143,function(){Hn();return Qn}),Rn=kB(646,tJ),uJ=V(148,function(){Sn();return ao}),bo=kB(647,uJ);V(154,null);V(155,null);V(156,null);V(157,null);
V(158,null);V(159,null);V(160,null);V(161,null);V(162,null);V(138,null);V(139,null);V(140,null);V(141,null);V(142,null);V(144,null);V(145,null);V(146,null);V(147,null);V(149,null);V(150,null);V(151,null);V(152,null);U(180);U(179);U(190);U(191);U(193);U(188);U(187);U(189);var Iy=U(484);U(369);U(492);U(497);U(404);U(433);U(407);var Yx=U(363),Xx=kB(648,yy);U(362);U(361);U(540);U(485);U(481);U(482);U(194);U(205);U(293);U(292);U(298);U(299);U(459);U(467);U(468);U(469);U(491);U(493);var az=U(383);U(471);
U(496);U(273);U(272);U(271);U(504);U(503);U(515);U(501);U(513);U(514);var vJ=V(584,function(){bp();return SH}),TH=kB(649,vJ);U(583);U(582);U(574);U(24);U(575);U(576);U(577);U(578);U(579);U(580);U(581);U(555);var wJ=V(275,function(){du();return ku}),lu=kB(650,wJ),xJ=V(322,function(){$t();return Sv}),Tv=kB(651,xJ);U(17);U(323);U(324);U(319);U(320);U(321);U(18);U(19);U(20);U(252);U(284);U(283);var yJ=U(282);U(494);U(495);U(500);U(516);U(402);U(372);U(498);U(499);U(285);U(301);U(300);U(287);U(178);U(306);
U(333);U(332);U(334);var zJ=V(335,function(){iw();return tw}),uw=kB(652,zJ);V(336,null);V(337,null);V(338,null);V(339,null);U(208);U(486);U(571);U(310);U(572);U(311);U(312);U(313);U(314);U(317);U(198);U(177);U(318);U(463);U(277);U(612);U(613);U(614);U(615);var WG=U(542);U(302);U(304);U(303);U(305);U(278);U(286);U(551);U(550);U(553);U(557);U(3);U(560);U(561);U(559);U(558);U(197);var $G=U(544);U(199);U(276);U(611);U(241);U(244);U(242);U(243);U(569);U(568);U(234);U(236);U(235);U(412);U(411);U(413);U(27);
U(28);U(26);U(29);U(32);U(33);U(34);U(35);U(36);U(37);var AJ=U(49),Hv=kB(653,AJ);U(38);U(39);U(40);U(41);U(42);U(43);U(44);U(46);U(45);U(47);U(48);U(50);U(51);U(53);U(54);U(52);U(55);U(56);U(57);U(58);U(60);U(62);U(63);U(61);U(59);U(64);U(65);U(66);U(67);U(69);U(72);U(71);U(73);U(76);U(77);U(75);U(78);U(79);U(80);U(81);U(82);U(83);U(85);U(86);U(84);U(87);U(88);U(89);U(90);U(92);U(93);U(91);U(5);U(7);U(6);U(414);var Gz=U(399),Iz=kB(654,Gz);U(400);U(398);U(570);U(263);U(264);U(345);U(537);U(173);U(415);
U(401);var aH=U(545);U(554);U(573);U(608);U(607);U(185);U(200);U(192);U(230);U(483);U(425);U(444);U(507);U(408);U(409);U(225);U(4);U(587);U(604);var BJ=V(605,function(){vI();return BI}),CI=kB(655,BJ),CJ=V(606,function(){lH();return EI}),FI=kB(656,CJ);U(590);U(599);U(598);U(602);U(601);U(597);U(596);U(594);U(595);U(593);U(592);U(589);U(591);U(600);U(603);U(588);U(232);U(31);U(237);U(307);U(308);U(309);U(238);var LH=kB(657,oJ);U(239);U(522);U(502);var iE=kB(658,yJ);U(508);U(512);U(505);U(506);U(509);
U(510);U(609);U(290);U(289);U(295);U(296);U(294);U(240);U(226);U(30);U(68);U(556);U(261);U(262);U(344);U(227);U(11);U(14);U(610);U(8);U(10);U(9);U(616);U(617);U(21);U(291);U(340);U(331);U(229);U(22);var DJ=U(25),Pj=kB(659,DJ);U(23);U(562);U(565);U(566);U(567);U(563);U(564);var YG=U(543);U(547);U(548);U(186);window.gwtOnLoad=gwtOnLoad;$stats && $stats({moduleName:'jsme',sessionId:$sessionId,subSystem:'startup',evtGroup:'moduleStartup',millis:(new Date()).getTime(),type:'moduleEvalEnd'});if ($wnd.jsme) $wnd.jsme.onScriptLoad();
--></script></body></html>